<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>term - Vim Documentation</title>
<meta name="Generator" content="Vim/8.0">
<meta name="plugin-version" content="vim8.0">
<meta name="syntax" content="help">
<meta name="settings" content="no_pre,use_css,expand_tabs">
<link rel="stylesheet" href="style.css" type="text/css" />

<script src="jquery.min.js" type="text/javascript"></script>
<script src="mark-current-page.js" type="text/javascript"></script>
</head>

<body>

<header>

<div class="header">
  <a href="http://vim-jp.org/">vim-jp</a>
  / <a href="http://vim-jp.org/vimdoc-en/">vimdoc-en</a>
  / term<br />
  <a name="top"></a><h1>term - Vim Documentation</h1>
  <a href="index.html">Return to main</a>

  <span class="EnglishJapaneseLink">
    <span class="CurrentLanguage">English</span>
  </span>
</div>
</header>

<nav>
<dl>

<dt>BASIC</dt>
<dd><ul>
<li><a href="quickref.html">quickref</a></li>
<li><a href="sponsor.html">sponsor</a></li>
</ul></dd>

<dt>USER MANUAL</dt>
<dd><ul>
<li><a href="usr_toc.html">usr_toc</a></li>
</ul></dd>

<dt>Getting Started</dt>
<dd><ul>
<li><a href="usr_01.html">usr_01</a></li>
<li><a href="usr_02.html">usr_02</a></li>
<li><a href="usr_03.html">usr_03</a></li>
<li><a href="usr_04.html">usr_04</a></li>
<li><a href="usr_05.html">usr_05</a></li>
<li><a href="usr_06.html">usr_06</a></li>
<li><a href="usr_07.html">usr_07</a></li>
<li><a href="usr_08.html">usr_08</a></li>
<li><a href="usr_09.html">usr_09</a></li>
<li><a href="usr_10.html">usr_10</a></li>
<li><a href="usr_11.html">usr_11</a></li>
<li><a href="usr_12.html">usr_12</a></li>
</ul></dd>

<dt>Editing Effectively</dt>
<dd><ul>
<li><a href="usr_20.html">usr_20</a></li>
<li><a href="usr_21.html">usr_21</a></li>
<li><a href="usr_22.html">usr_22</a></li>
<li><a href="usr_23.html">usr_23</a></li>
<li><a href="usr_24.html">usr_24</a></li>
<li><a href="usr_25.html">usr_25</a></li>
<li><a href="usr_26.html">usr_26</a></li>
<li><a href="usr_27.html">usr_27</a></li>
<li><a href="usr_28.html">usr_28</a></li>
<li><a href="usr_29.html">usr_29</a></li>
<li><a href="usr_30.html">usr_30</a></li>
<li><a href="usr_31.html">usr_31</a></li>
<li><a href="usr_32.html">usr_32</a></li>
</ul></dd>

<dt>Tuning Vim</dt>
<dd><ul>
<li><a href="usr_40.html">usr_40</a></li>
<li><a href="usr_41.html">usr_41</a></li>
<li><a href="usr_42.html">usr_42</a></li>
<li><a href="usr_43.html">usr_43</a></li>
<li><a href="usr_44.html">usr_44</a></li>
<li><a href="usr_45.html">usr_45</a></li>
</ul></dd>

<dt>Making Vim Run</dt>
<dd><ul>
<li><a href="usr_90.html">usr_90</a></li>
</ul></dd>

<dt>General subjects</dt>
<dd><ul>
<li><a href="intro.html">intro</a></li>
<li><a href="index.html">help</a></li>
<li><a href="helphelp.html">helphelp</a></li>
<li><a href="vimindex.html">index</a></li>
<li><a href="tags.html">tags</a></li>
<li><a href="howto.html">howto</a></li>
<li><a href="tips.html">tips</a></li>
<li><a href="message.html">message</a></li>
<li><a href="quotes.html">quotes</a></li>
<li><a href="todo.html">todo</a></li>
<li><a href="debug.html">debug</a></li>
<li><a href="develop.html">develop</a></li>
<li><a href="uganda.html">uganda</a></li>
</ul></dd>

<dt>Basic editing</dt>
<dd><ul>
<li><a href="starting.html">starting</a></li>
<li><a href="editing.html">editing</a></li>
<li><a href="motion.html">motion</a></li>
<li><a href="scroll.html">scroll</a></li>
<li><a href="insert.html">insert</a></li>
<li><a href="change.html">change</a></li>
<li><a href="indent.html">indent</a></li>
<li><a href="undo.html">undo</a></li>
<li><a href="repeat.html">repeat</a></li>
<li><a href="visual.html">visual</a></li>
<li><a href="various.html">various</a></li>
<li><a href="recover.html">recover</a></li>
</ul></dd>

<dt>Advanced editing</dt>
<dd><ul>
<li><a href="cmdline.html">cmdline</a></li>
<li><a href="options.html">options</a></li>
<li><a href="pattern.html">pattern</a></li>
<li><a href="map.html">map</a></li>
<li><a href="tagsrch.html">tagsrch</a></li>
<li><a href="quickfix.html">quickfix</a></li>
<li><a href="windows.html">windows</a></li>
<li><a href="tabpage.html">tabpage</a></li>
<li><a href="syntax.html">syntax</a></li>
<li><a href="spell.html">spell</a></li>
<li><a href="diff.html">diff</a></li>
<li><a href="autocmd.html">autocmd</a></li>
<li><a href="filetype.html">filetype</a></li>
<li><a href="eval.html">eval</a></li>
<li><a href="channel.html">channel</a></li>
<li><a href="fold.html">fold</a></li>
</ul></dd>

<dt>Special issues</dt>
<dd><ul>
<li><a href="print.html">print</a></li>
<li><a href="remote.html">remote</a></li>
<li><a href="term.html">term</a></li>
<li><a href="digraph.html">digraph</a></li>
<li><a href="mbyte.html">mbyte</a></li>
<li><a href="mlang.html">mlang</a></li>
<li><a href="arabic.html">arabic</a></li>
<li><a href="farsi.html">farsi</a></li>
<li><a href="hebrew.html">hebrew</a></li>
<li><a href="russian.html">russian</a></li>
<li><a href="ft_ada.html">ft_ada</a></li>
<li><a href="ft_sql.html">ft_sql</a></li>
<li><a href="hangulin.html">hangulin</a></li>
<li><a href="rileft.html">rileft</a></li>
</ul></dd>

<dt>GUI</dt>
<dd><ul>
<li><a href="gui.html">gui</a></li>
<li><a href="gui_w32.html">gui_w32</a></li>
<li><a href="gui_x11.html">gui_x11</a></li>
</ul></dd>

<dt>Interfaces</dt>
<dd><ul>
<li><a href="if_cscop.html">if_cscop</a></li>
<li><a href="if_lua.html">if_lua</a></li>
<li><a href="if_mzsch.html">if_mzsch</a></li>
<li><a href="if_perl.html">if_perl</a></li>
<li><a href="if_pyth.html">if_pyth</a></li>
<li><a href="if_tcl.html">if_tcl</a></li>
<li><a href="if_ole.html">if_ole</a></li>
<li><a href="if_ruby.html">if_ruby</a></li>
<li><a href="debugger.html">debugger</a></li>
<li><a href="workshop.html">workshop</a></li>
<li><a href="netbeans.html">netbeans</a></li>
<li><a href="sign.html">sign</a></li>
</ul></dd>

<dt>Versions</dt>
<dd><ul>
<li><a href="vi_diff.html">vi_diff</a></li>
<li><a href="version4.html">version4</a></li>
<li><a href="version5.html">version5</a></li>
<li><a href="version6.html">version6</a></li>
<li><a href="version7.html">version7</a></li>
<li><a href="version8.html">version8</a></li>
</ul></dd>

<dt>Remarks about specific systems</dt>
<dd><ul>
<li><a href="os_390.html">os_390</a></li>
<li><a href="os_amiga.html">os_amiga</a></li>
<li><a href="os_beos.html">os_beos</a></li>
<li><a href="os_dos.html">os_dos</a></li>
<li><a href="os_mac.html">os_mac</a></li>
<li><a href="os_mint.html">os_mint</a></li>
<li><a href="os_msdos.html">os_msdos</a></li>
<li><a href="os_os2.html">os_os2</a></li>
<li><a href="os_qnx.html">os_qnx</a></li>
<li><a href="os_risc.html">os_risc</a></li>
<li><a href="os_unix.html">os_unix</a></li>
<li><a href="os_vms.html">os_vms</a></li>
<li><a href="os_win32.html">os_win32</a></li>
</ul></dd>

<dt>Standard plugins</dt>
<dd><ul>
<li><a href="pi_getscript.html">pi_getscript</a></li>
<li><a href="pi_gzip.html">pi_gzip</a></li>
<li><a href="pi_logipat.html">pi_logipat</a></li>
<li><a href="pi_netrw.html">pi_netrw</a></li>
<li><a href="pi_paren.html">pi_paren</a></li>
<li><a href="pi_tar.html">pi_tar</a></li>
<li><a href="pi_vimball.html">pi_vimball</a></li>
<li><a href="pi_zip.html">pi_zip</a></li>
</ul></dd>

<dt>Filetype plugins</dt>
<dd><ul>
<li><a href="pi_spec.html">pi_spec</a></li>
</ul></dd>

<dt>Others</dt>
<dd><ul>
<li><a href="vim_faq.html">vim_faq</a></li>
</ul></dd>

</dl>
</nav>

<article class="Vimdoc VimdocJa">
<div id='vimCodeElement'>
<a class="Constant" href="term.html" name="term.txt">term.txt</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For&nbsp;<span class="Identifier">Vim version 8.0.</span>&nbsp;&nbsp;Last change: 2017 Jul 21<br>
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Identifier">VIM REFERENCE MANUAL&nbsp;&nbsp;&nbsp;&nbsp;by Bram Moolenaar</span><br>
<br>
<br>
Terminal information&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#terminal-info" name="terminal-info">terminal-info</a><br>
<br>
Vim uses information about the terminal you are using to fill the screen and<br>
recognize what keys you hit.&nbsp;&nbsp;If this information is not correct, the screen<br>
may be messed up or keys may not be recognized.&nbsp;&nbsp;The actions which have to be<br>
performed on the screen are accomplished by outputting a string of<br>
characters.&nbsp;&nbsp;Special keys produce a string of characters.&nbsp;&nbsp;These strings are<br>
stored in the terminal options, see&nbsp;<a class="Identifier" href="term.html#terminal-options">terminal-options</a>.<br>
<br>
<span class="Todo">NOTE</span>: Most of this is not used when running the&nbsp;<a class="Identifier" href="gui.html#GUI">GUI</a>.<br>
<br>
1. Startup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#startup-terminal">startup-terminal</a><br>
2. Terminal options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#terminal-options">terminal-options</a><br>
3. Window size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#window-size">window-size</a><br>
4. Slow and fast terminals&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#slow-fast-terminal">slow-fast-terminal</a><br>
5. Using the mouse&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#mouse-using">mouse-using</a><br>
<br>
<span class="PreProc">==============================================================================</span><br>
1. Startup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#startup-terminal" name="startup-terminal">startup-terminal</a><br>
<br>
When Vim is started a default terminal type is assumed.&nbsp;&nbsp;For the Amiga this is<br>
a standard CLI window, for MS-DOS the pc terminal, for Unix an ansi terminal.<br>
A few other terminal types are always available, see below&nbsp;<a class="Identifier" href="term.html#builtin-terms">builtin-terms</a>.<br>
<br>
You can give the terminal name with the '-T' Vim argument.&nbsp;&nbsp;If it is not given<br>
Vim will try to get the name from the TERM environment variable.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#termcap" name="termcap">termcap</a>&nbsp;<a class="Constant" href="term.html#terminfo" name="terminfo">terminfo</a>&nbsp;<a class="Constant" href="term.html#E557" name="E557">E557</a>&nbsp;<a class="Constant" href="term.html#E558" name="E558">E558</a>&nbsp;<a class="Constant" href="term.html#E559" name="E559">E559</a><br>
On Unix the terminfo database or termcap file is used.&nbsp;&nbsp;This is referred to as<br>
&quot;termcap&quot; in all the documentation.&nbsp;&nbsp;At compile time, when running configure,<br>
the choice whether to use terminfo or termcap is done automatically.&nbsp;&nbsp;When<br>
running Vim the output of &quot;:version&quot; will show&nbsp;<a class="Identifier" href="various.html#+terminfo">+terminfo</a>&nbsp;if terminfo is<br>
used.&nbsp;&nbsp;Also see&nbsp;<a class="Identifier" href="tips.html#xterm-screens">xterm-screens</a>.<br>
<br>
On non-Unix systems a termcap is only available if Vim was compiled with<br>
TERMCAP defined.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#builtin-terms" name="builtin-terms">builtin-terms</a>&nbsp;<a class="Constant" href="term.html#builtin_terms" name="builtin_terms">builtin_terms</a><br>
Which builtin terminals are available depends on a few defines in feature.h,<br>
which need to be set at compile time:<br>
&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">define&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;output of &quot;:version&quot;&nbsp;&nbsp;&nbsp;&nbsp;terminals builtin</span><br>
NO_BUILTIN_TCAPS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-builtin_terms&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;none<br>
SOME_BUILTIN_TCAPS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+builtin_terms&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;most common ones (default)<br>
ALL_BUILTIN_TCAPS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ++builtin_terms&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all available<br>
<br>
You can see a list of available builtin terminals with &quot;:set term=xxx&quot; (when<br>
not running the GUI).&nbsp;&nbsp;Also see&nbsp;<a class="Identifier" href="various.html#+builtin_terms">+builtin_terms</a>.<br>
<br>
If the termcap code is included Vim will try to get the strings for the<br>
terminal you are using from the termcap file and the builtin termcaps.&nbsp;&nbsp;Both<br>
are always used, if an entry for the terminal you are using is present.&nbsp;&nbsp;Which<br>
one is used first depends on the&nbsp;<a class="Type" href="options.html#'ttybuiltin'">'ttybuiltin'</a>&nbsp;option:<br>
<br>
<a class="Type" href="options.html#'ttybuiltin'">'ttybuiltin'</a>&nbsp;on&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1: builtin termcap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2: external termcap<br>
<a class="Type" href="options.html#'ttybuiltin'">'ttybuiltin'</a>&nbsp;off&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1: external termcap&nbsp;&nbsp;&nbsp;&nbsp; 2: builtin termcap<br>
<br>
If an option is missing in one of them, it will be obtained from the other<br>
one.&nbsp;&nbsp;If an option is present in both, the one first encountered is used.<br>
<br>
Which external termcap file is used varies from system to system and may<br>
depend on the environment variables &quot;TERMCAP&quot; and &quot;TERMPATH&quot;.&nbsp;&nbsp;See &quot;man<br>
tgetent&quot;.<br>
<br>
Settings depending on terminal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#term-dependent-settings" name="term-dependent-settings">term-dependent-settings</a><br>
<br>
If you want to set options or mappings, depending on the terminal name, you<br>
can do this best in your .vimrc.&nbsp;&nbsp;Example:<br>
<br>
<div class="helpExample">&nbsp;&nbsp; if &amp;term == &quot;xterm&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp; ... xterm maps and settings ...<br>
&nbsp;&nbsp; elseif &amp;term =~ &quot;vt10.&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp; ... vt100, vt102 maps and settings ...<br>
&nbsp;&nbsp; endif</div>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#raw-terminal-mode" name="raw-terminal-mode">raw-terminal-mode</a><br>
For normal editing the terminal will be put into &quot;raw&quot; mode.&nbsp;&nbsp;The strings<br>
defined with&nbsp;<a class="Type" href="term.html#'t_ti'">'t_ti'</a>&nbsp;and&nbsp;<a class="Type" href="term.html#'t_ks'">'t_ks'</a>&nbsp;will be sent to the terminal.&nbsp;&nbsp;Normally this<br>
puts the terminal in a state where the termcap codes are valid and activates<br>
the cursor and function keys.&nbsp;&nbsp;When Vim exits the terminal will be put back<br>
into the mode it was before Vim started.&nbsp;&nbsp;The strings defined with&nbsp;<a class="Type" href="term.html#'t_te'">'t_te'</a>&nbsp;and<br>
<a class="Type" href="term.html#'t_ke'">'t_ke'</a>&nbsp;will be sent to the terminal.&nbsp;&nbsp;On the Amiga, with commands that execute<br>
an external command (e.g., &quot;!!&quot;), the terminal will be put into Normal mode<br>
for a moment.&nbsp;&nbsp;This means that you can stop the output to the screen by<br>
hitting a printing key.&nbsp;&nbsp;Output resumes when you hit&nbsp;<span class="Special">&lt;BS&gt;</span>.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-bracketed-paste" name="xterm-bracketed-paste">xterm-bracketed-paste</a><br>
When the&nbsp;<a class="Type" href="term.html#'t_BE'">'t_BE'</a>&nbsp;option is set then&nbsp;<a class="Type" href="term.html#'t_BE'">'t_BE'</a>&nbsp;will be sent to the<br>
terminal when entering &quot;raw&quot; mode and&nbsp;<a class="Type" href="term.html#'t_BD'">'t_BD'</a>&nbsp;when leaving &quot;raw&quot; mode.&nbsp;&nbsp;The<br>
terminal is then expected to put&nbsp;<a class="Type" href="term.html#'t_PS'">'t_PS'</a>&nbsp;before pasted text and&nbsp;<a class="Type" href="term.html#'t_PE'">'t_PE'</a>&nbsp;after<br>
pasted text.&nbsp;&nbsp;This way Vim can separate text that is pasted from characters<br>
that are typed.&nbsp;&nbsp;The pasted text is handled like when the middle mouse button<br>
is used, it is inserted literally and not interpreted as commands.<br>
<br>
When the cursor is in the first column, the pasted text will be inserted<br>
before it.&nbsp;&nbsp;Otherwise the pasted text is appended after the cursor position.<br>
This means one cannot paste after the first column.&nbsp;&nbsp;Unfortunately Vim does<br>
not have a way to tell where the mouse pointer was.<br>
<br>
<span class="Todo">Note</span>&nbsp;that in some situations Vim will not recognize the bracketed paste and<br>
you will get the raw text.&nbsp;&nbsp;In other situations Vim will only get the first<br>
pasted character and drop the rest, e.g. when using the &quot;r&quot; command.&nbsp;&nbsp;If you<br>
have a problem with this, disable bracketed paste by putting this in your<br>
.vimrc:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set t_BE=</div>
If this is done while Vim is running the&nbsp;<a class="Type" href="term.html#'t_BD'">'t_BD'</a>&nbsp;will be sent to the terminal<br>
to disable bracketed paste.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#cs7-problem" name="cs7-problem">cs7-problem</a><br>
<span class="Todo">Note</span>: If the terminal settings are changed after running Vim, you might have<br>
an illegal combination of settings.&nbsp;&nbsp;This has been reported on Solaris 2.5<br>
with &quot;stty cs8 parenb&quot;, which is restored as &quot;stty cs7 parenb&quot;.&nbsp;&nbsp;Use<br>
&quot;stty cs8 -parenb -istrip&quot; instead, this is restored correctly.<br>
<br>
Some termcap entries are wrong in the sense that after sending&nbsp;<a class="Type" href="term.html#'t_ks'">'t_ks'</a>&nbsp;the<br>
cursor keys send codes different from the codes defined in the termcap.&nbsp;&nbsp;To<br>
avoid this you can set&nbsp;<a class="Type" href="term.html#'t_ks'">'t_ks'</a>&nbsp;(and&nbsp;<a class="Type" href="term.html#'t_ke'">'t_ke'</a>) to empty strings.&nbsp;&nbsp;This must be<br>
done during initialization (see&nbsp;<a class="Identifier" href="starting.html#initialization">initialization</a>), otherwise it's too late.<br>
<br>
Some termcap entries assume that the highest bit is always reset.&nbsp;&nbsp;For<br>
example: The cursor-up entry for the Amiga could be &quot;:ku=\E[A:&quot;.&nbsp;&nbsp;But the<br>
Amiga really sends &quot;\233A&quot;.&nbsp;&nbsp;This works fine if the highest bit is reset,<br>
e.g., when using an Amiga over a serial line.&nbsp;&nbsp;If the cursor keys don't work,<br>
try the entry &quot;:ku=\233A:&quot;.<br>
<br>
Some termcap entries have the entry &quot;:ku=\E[A:&quot;.&nbsp;&nbsp;But the Amiga really sends<br>
&quot;\233A&quot;.&nbsp;&nbsp;On output &quot;\E[&quot; and &quot;\233&quot; are often equivalent, on input they<br>
aren't.&nbsp;&nbsp;You will have to change the termcap entry, or change the key code with<br>
the :set command to fix this.<br>
<br>
Many cursor key codes start with an&nbsp;<span class="Special">&lt;Esc&gt;</span>.&nbsp;&nbsp;Vim must find out if this is a<br>
single hit of the&nbsp;<span class="Special">&lt;Esc&gt;</span>&nbsp;key or the start of a cursor key sequence.&nbsp;&nbsp;It waits<br>
for a next character to arrive.&nbsp;&nbsp;If it does not arrive within one second a<br>
single&nbsp;<span class="Special">&lt;Esc&gt;</span>&nbsp;is assumed.&nbsp;&nbsp;On very slow systems this may fail, causing cursor<br>
keys not to work sometimes.&nbsp;&nbsp;If you discover this problem reset the&nbsp;<a class="Type" href="options.html#'timeout'">'timeout'</a><br>
option.&nbsp;&nbsp;Vim will wait for the next character to arrive after an&nbsp;<span class="Special">&lt;Esc&gt;</span>.&nbsp;&nbsp;If<br>
you want to enter a single&nbsp;<span class="Special">&lt;Esc&gt;</span>&nbsp;you must type it twice.&nbsp;&nbsp;Resetting the<br>
<a class="Type" href="options.html#'esckeys'">'esckeys'</a>&nbsp;option avoids this problem in Insert mode, but you lose the<br>
possibility to use cursor and function keys in Insert mode.<br>
<br>
On the Amiga the recognition of window resizing is activated only when the<br>
terminal name is &quot;amiga&quot; or &quot;builtin_amiga&quot;.<br>
<br>
Some terminals have confusing codes for the cursor keys.&nbsp;&nbsp;The televideo 925 is<br>
such a terminal.&nbsp;&nbsp;It sends a&nbsp;<span class="Special">CTRL-H</span>&nbsp;for cursor-left.&nbsp;&nbsp;This would make it<br>
impossible to distinguish a backspace and cursor-left.&nbsp;&nbsp;To avoid this problem<br>
<span class="Special">CTRL-H</span>&nbsp;is never recognized as cursor-left.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#vt100-cursor-keys" name="vt100-cursor-keys">vt100-cursor-keys</a>&nbsp;<a class="Constant" href="term.html#xterm-cursor-keys" name="xterm-cursor-keys">xterm-cursor-keys</a><br>
Other terminals (e.g., vt100 and xterm) have cursor keys that send&nbsp;<span class="Special">&lt;Esc&gt;</span>OA,<br>
<span class="Special">&lt;Esc&gt;</span>OB, etc.&nbsp;&nbsp;Unfortunately these are valid commands in insert mode: Stop<br>
insert, Open a new line above the new one, start inserting 'A', 'B', etc.<br>
Instead of performing these commands Vim will erroneously recognize this typed<br>
key sequence as a cursor key movement.&nbsp;&nbsp;To avoid this and make Vim do what you<br>
want in either case you could use these settings:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set notimeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot; don't timeout on mappings<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set ttimeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot; do timeout on terminal key codes<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set timeoutlen=100&nbsp;&nbsp;&nbsp;&nbsp; &quot; timeout after 100 msec</div>
This requires the key-codes to be sent within 100 msec in order to recognize<br>
them as a cursor key.&nbsp;&nbsp;When you type you normally are not that fast, so they<br>
are recognized as individual typed commands, even though Vim receives the same<br>
sequence of bytes.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#vt100-function-keys" name="vt100-function-keys">vt100-function-keys</a>&nbsp;<a class="Constant" href="term.html#xterm-function-keys" name="xterm-function-keys">xterm-function-keys</a><br>
An xterm can send function keys F1 to F4 in two modes: vt100 compatible or<br>
not.&nbsp;&nbsp;Because Vim may not know what the xterm is sending, both types of keys<br>
are recognized.&nbsp;&nbsp;The same happens for the&nbsp;<span class="Special">&lt;Home&gt;</span>&nbsp;and&nbsp;<span class="Special">&lt;End&gt;</span>&nbsp;keys.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">normal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vt100</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F1&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;t_k1&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>[11~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xF1&gt;</span>&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>OP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xF1>-xterm" name="&lt;xF1&gt;-xterm">&lt;xF1&gt;-xterm</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F2&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;t_k2&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>[12~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xF2&gt;</span>&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>OQ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xF2>-xterm" name="&lt;xF2&gt;-xterm">&lt;xF2&gt;-xterm</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F3&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;t_k3&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>[13~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xF3&gt;</span>&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>OR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xF3>-xterm" name="&lt;xF3&gt;-xterm">&lt;xF3&gt;-xterm</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F4&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;t_k4&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>[14~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xF4&gt;</span>&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>OS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xF4>-xterm" name="&lt;xF4&gt;-xterm">&lt;xF4&gt;-xterm</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Home&gt;</span>&nbsp;&nbsp;t_kh&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>[7~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xHome&gt;</span>&nbsp;<span class="Special">&lt;Esc&gt;</span>OH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xHome>-xterm" name="&lt;xHome&gt;-xterm">&lt;xHome&gt;-xterm</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;End&gt;</span>&nbsp;&nbsp; t_@7&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>[4~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xEnd&gt;</span>&nbsp;&nbsp;<span class="Special">&lt;Esc&gt;</span>OF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xEnd>-xterm" name="&lt;xEnd&gt;-xterm">&lt;xEnd&gt;-xterm</a><br>
<br>
When Vim starts,&nbsp;<span class="Special">&lt;xF1&gt;</span>&nbsp;is mapped to&nbsp;<span class="Special">&lt;F1&gt;</span>,&nbsp;<span class="Special">&lt;xF2&gt;</span>&nbsp;to&nbsp;<span class="Special">&lt;F2&gt;</span>&nbsp;etc.&nbsp;&nbsp;This means that<br>
by default both codes do the same thing.&nbsp;&nbsp;If you make a mapping for&nbsp;<span class="Special">&lt;xF2&gt;</span>,<br>
because your terminal does have two keys, the default mapping is overwritten,<br>
thus you can use the&nbsp;<span class="Special">&lt;F2&gt;</span>&nbsp;and&nbsp;<span class="Special">&lt;xF2&gt;</span>&nbsp;keys for something different.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-shifted-keys" name="xterm-shifted-keys">xterm-shifted-keys</a><br>
Newer versions of xterm support shifted function keys and special keys.&nbsp;&nbsp;Vim<br>
recognizes most of them.&nbsp;&nbsp;Use &quot;:set termcap&quot; to check which are supported and<br>
what the codes are.&nbsp;&nbsp;Mostly these are not in a termcap, they are only<br>
supported by the builtin_xterm termcap.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-modifier-keys" name="xterm-modifier-keys">xterm-modifier-keys</a><br>
Newer versions of xterm support Alt and Ctrl for most function keys.&nbsp;&nbsp;To avoid<br>
having to add all combinations of Alt, Ctrl and Shift for every key a special<br>
sequence is recognized at the end of a termcap entry: &quot;;*X&quot;.&nbsp;&nbsp;The &quot;X&quot; can be<br>
any character, often '~' is used.&nbsp;&nbsp;The &quot;;*&quot; stands for an optional modifier<br>
argument.&nbsp;&nbsp;&quot;;2&quot; is Shift, &quot;;3&quot; is Alt, &quot;;5&quot; is Ctrl and &quot;;9&quot; is Meta (when<br>
it's different from Alt).&nbsp;&nbsp;They can be combined.&nbsp;&nbsp;Examples:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set &lt;F8&gt;=^[[19;*~<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set &lt;Home&gt;=^[[1;*H</div>
Another speciality about these codes is that they are not overwritten by<br>
another code.&nbsp;&nbsp;That is to avoid that the codes obtained from xterm directly<br>
<a class="Identifier" href="term.html#t_RV">t_RV</a>&nbsp;overwrite them.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-scroll-region" name="xterm-scroll-region">xterm-scroll-region</a><br>
The default termcap entry for xterm on Sun and other platforms does not<br>
contain the entry for scroll regions.&nbsp;&nbsp;Add &quot;:cs=\E[%i%d;%dr:&quot; to the xterm<br>
entry in /etc/termcap and everything should work.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-end-home-keys" name="xterm-end-home-keys">xterm-end-home-keys</a><br>
On some systems (at least on FreeBSD with XFree86 3.1.2) the codes that the<br>
<span class="Special">&lt;End&gt;</span>&nbsp;and&nbsp;<span class="Special">&lt;Home&gt;</span>&nbsp;keys send contain a&nbsp;<span class="Special">&lt;Nul&gt;</span>&nbsp;character.&nbsp;&nbsp;To make these keys send<br>
the proper key code, add these lines to your ~/.Xdefaults file:<br>
<br>
*VT100.Translations:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#override \n\<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Key&gt;</span>Home: string(&quot;0x1b&quot;) string(&quot;[7~&quot;) \n\<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Key&gt;</span>End: string(&quot;0x1b&quot;) string(&quot;[8~&quot;)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-8bit" name="xterm-8bit">xterm-8bit</a>&nbsp;<a class="Constant" href="term.html#xterm-8-bit" name="xterm-8-bit">xterm-8-bit</a><br>
Xterm can be run in a mode where it uses 8-bit escape sequences.&nbsp;&nbsp;The CSI code<br>
is used instead of&nbsp;<span class="Special">&lt;Esc&gt;</span>[.&nbsp;&nbsp;The advantage is that an&nbsp;<span class="Special">&lt;Esc&gt;</span>&nbsp;can quickly be<br>
recognized in Insert mode, because it can't be confused with the start of a<br>
special key.<br>
For the builtin termcap entries, Vim checks if the&nbsp;<a class="Type" href="options.html#'term'">'term'</a>&nbsp;option contains<br>
&quot;8bit&quot; anywhere.&nbsp;&nbsp;It then uses 8-bit characters for the termcap entries, the<br>
mouse and a few other things.&nbsp;&nbsp;You would normally set $TERM in your shell to<br>
&quot;xterm-8bit&quot; and Vim picks this up and adjusts to the 8-bit setting<br>
automatically.<br>
When Vim receives a response to the&nbsp;<a class="Identifier" href="term.html#t_RV">t_RV</a>&nbsp;(request version) sequence and it<br>
starts with CSI, it assumes that the terminal is in 8-bit mode and will<br>
convert all key sequences to their 8-bit variants.<br>
<br>
<span class="PreProc">==============================================================================</span><br>
2. Terminal options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#terminal-options" name="terminal-options">terminal-options</a>&nbsp;<a class="Constant" href="term.html#termcap-options" name="termcap-options">termcap-options</a>&nbsp;<a class="Constant" href="term.html#E436" name="E436">E436</a><br>
<br>
The terminal options can be set just like normal options.&nbsp;&nbsp;But they are not<br>
shown with the &quot;:set all&quot; command.&nbsp;&nbsp;Instead use &quot;:set termcap&quot;.<br>
<br>
It is always possible to change individual strings by setting the<br>
appropriate option.&nbsp;&nbsp;For example:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set t_ce=^V^[[K&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(CTRL-V, &lt;Esc&gt;, [, K)</div>
<br>
<span class="Special">{Vi: no terminal options.&nbsp;&nbsp;You have to exit Vi, edit the termcap entry and</span><br>
<span class="Special">try again}</span><br>
<br>
The options are listed below.&nbsp;&nbsp;The associated termcap code is always equal to<br>
the last two characters of the option name.&nbsp;&nbsp;Only one termcap code is<br>
required: Cursor motion,&nbsp;<a class="Type" href="term.html#'t_cm'">'t_cm'</a>.<br>
<br>
The options&nbsp;<a class="Type" href="term.html#'t_da'">'t_da'</a>,&nbsp;<a class="Type" href="term.html#'t_db'">'t_db'</a>,&nbsp;<a class="Type" href="term.html#'t_ms'">'t_ms'</a>,&nbsp;<a class="Type" href="term.html#'t_xs'">'t_xs'</a>,&nbsp;<a class="Type" href="term.html#'t_xn'">'t_xn'</a>&nbsp;represent flags in the<br>
termcap.&nbsp;&nbsp;When the termcap flag is present, the option will be set to &quot;y&quot;.<br>
But any non-empty string means that the flag is set.&nbsp;&nbsp;An empty string means<br>
that the flag is not set.&nbsp;&nbsp;<a class="Type" href="term.html#'t_CS'">'t_CS'</a>&nbsp;works like this too, but it isn't a termcap<br>
flag.<br>
<br>
<span class="Statement">OUTPUT CODES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a class="Constant" href="term.html#terminal-output-codes" name="terminal-output-codes">terminal-output-codes</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">option&nbsp;&nbsp;meaning</span><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_AB&nbsp;&nbsp;&nbsp;&nbsp;set background color (ANSI)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_AB" name="t_AB">t_AB</a>&nbsp;<a class="Constant" href="term.html#'t_AB'" name="'t_AB'">'t_AB'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_AF&nbsp;&nbsp;&nbsp;&nbsp;set foreground color (ANSI)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_AF" name="t_AF">t_AF</a>&nbsp;<a class="Constant" href="term.html#'t_AF'" name="'t_AF'">'t_AF'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_AL&nbsp;&nbsp;&nbsp;&nbsp;add number of blank lines&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_AL" name="t_AL">t_AL</a>&nbsp;<a class="Constant" href="term.html#'t_AL'" name="'t_AL'">'t_AL'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_al&nbsp;&nbsp;&nbsp;&nbsp;add new blank line&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_al" name="t_al">t_al</a>&nbsp;<a class="Constant" href="term.html#'t_al'" name="'t_al'">'t_al'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_bc&nbsp;&nbsp;&nbsp;&nbsp;backspace character&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_bc" name="t_bc">t_bc</a>&nbsp;<a class="Constant" href="term.html#'t_bc'" name="'t_bc'">'t_bc'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_cd&nbsp;&nbsp;&nbsp;&nbsp;clear to end of screen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_cd" name="t_cd">t_cd</a>&nbsp;<a class="Constant" href="term.html#'t_cd'" name="'t_cd'">'t_cd'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ce&nbsp;&nbsp;&nbsp;&nbsp;clear to end of line&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ce" name="t_ce">t_ce</a>&nbsp;<a class="Constant" href="term.html#'t_ce'" name="'t_ce'">'t_ce'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_cl&nbsp;&nbsp;&nbsp;&nbsp;clear screen&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_cl" name="t_cl">t_cl</a>&nbsp;<a class="Constant" href="term.html#'t_cl'" name="'t_cl'">'t_cl'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_cm&nbsp;&nbsp;&nbsp;&nbsp;cursor motion (required!)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#E437" name="E437">E437</a>&nbsp;<a class="Constant" href="term.html#t_cm" name="t_cm">t_cm</a>&nbsp;<a class="Constant" href="term.html#'t_cm'" name="'t_cm'">'t_cm'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_Co&nbsp;&nbsp;&nbsp;&nbsp;number of colors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_Co" name="t_Co">t_Co</a>&nbsp;<a class="Constant" href="term.html#'t_Co'" name="'t_Co'">'t_Co'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_CS&nbsp;&nbsp;&nbsp;&nbsp;if non-empty, cursor relative to scroll region&nbsp;&nbsp;<a class="Constant" href="term.html#t_CS" name="t_CS">t_CS</a>&nbsp;<a class="Constant" href="term.html#'t_CS'" name="'t_CS'">'t_CS'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_cs&nbsp;&nbsp;&nbsp;&nbsp;define scrolling region&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_cs" name="t_cs">t_cs</a>&nbsp;<a class="Constant" href="term.html#'t_cs'" name="'t_cs'">'t_cs'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_CV&nbsp;&nbsp;&nbsp;&nbsp;define vertical scrolling region&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_CV" name="t_CV">t_CV</a>&nbsp;<a class="Constant" href="term.html#'t_CV'" name="'t_CV'">'t_CV'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_da&nbsp;&nbsp;&nbsp;&nbsp;if non-empty, lines from above scroll down&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_da" name="t_da">t_da</a>&nbsp;<a class="Constant" href="term.html#'t_da'" name="'t_da'">'t_da'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_db&nbsp;&nbsp;&nbsp;&nbsp;if non-empty, lines from below scroll up&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_db" name="t_db">t_db</a>&nbsp;<a class="Constant" href="term.html#'t_db'" name="'t_db'">'t_db'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_DL&nbsp;&nbsp;&nbsp;&nbsp;delete number of lines&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_DL" name="t_DL">t_DL</a>&nbsp;<a class="Constant" href="term.html#'t_DL'" name="'t_DL'">'t_DL'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_dl&nbsp;&nbsp;&nbsp;&nbsp;delete line&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_dl" name="t_dl">t_dl</a>&nbsp;<a class="Constant" href="term.html#'t_dl'" name="'t_dl'">'t_dl'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_fs&nbsp;&nbsp;&nbsp;&nbsp;set window title end (from status line)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_fs" name="t_fs">t_fs</a>&nbsp;<a class="Constant" href="term.html#'t_fs'" name="'t_fs'">'t_fs'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ke&nbsp;&nbsp;&nbsp;&nbsp;exit &quot;keypad transmit&quot; mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ke" name="t_ke">t_ke</a>&nbsp;<a class="Constant" href="term.html#'t_ke'" name="'t_ke'">'t_ke'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ks&nbsp;&nbsp;&nbsp;&nbsp;start &quot;keypad transmit&quot; mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ks" name="t_ks">t_ks</a>&nbsp;<a class="Constant" href="term.html#'t_ks'" name="'t_ks'">'t_ks'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_le&nbsp;&nbsp;&nbsp;&nbsp;move cursor one char left&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_le" name="t_le">t_le</a>&nbsp;<a class="Constant" href="term.html#'t_le'" name="'t_le'">'t_le'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_mb&nbsp;&nbsp;&nbsp;&nbsp;blinking mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_mb" name="t_mb">t_mb</a>&nbsp;<a class="Constant" href="term.html#'t_mb'" name="'t_mb'">'t_mb'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_md&nbsp;&nbsp;&nbsp;&nbsp;bold mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_md" name="t_md">t_md</a>&nbsp;<a class="Constant" href="term.html#'t_md'" name="'t_md'">'t_md'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_me&nbsp;&nbsp;&nbsp;&nbsp;Normal mode (undoes t_mr, t_mb, t_md and color)&nbsp;<a class="Constant" href="term.html#t_me" name="t_me">t_me</a>&nbsp;<a class="Constant" href="term.html#'t_me'" name="'t_me'">'t_me'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_mr&nbsp;&nbsp;&nbsp;&nbsp;reverse (invert) mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_mr" name="t_mr">t_mr</a>&nbsp;<a class="Constant" href="term.html#'t_mr'" name="'t_mr'">'t_mr'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ms" name="t_ms">t_ms</a>&nbsp;<a class="Constant" href="term.html#'t_ms'" name="'t_ms'">'t_ms'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ms&nbsp;&nbsp;&nbsp;&nbsp;if non-empty, cursor can be moved in standout/inverse mode<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_nd&nbsp;&nbsp;&nbsp;&nbsp;non destructive space character&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_nd" name="t_nd">t_nd</a>&nbsp;<a class="Constant" href="term.html#'t_nd'" name="'t_nd'">'t_nd'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_op&nbsp;&nbsp;&nbsp;&nbsp;reset to original color pair&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_op" name="t_op">t_op</a>&nbsp;<a class="Constant" href="term.html#'t_op'" name="'t_op'">'t_op'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_RI&nbsp;&nbsp;&nbsp;&nbsp;cursor number of chars right&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_RI" name="t_RI">t_RI</a>&nbsp;<a class="Constant" href="term.html#'t_RI'" name="'t_RI'">'t_RI'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_Sb&nbsp;&nbsp;&nbsp;&nbsp;set background color&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_Sb" name="t_Sb">t_Sb</a>&nbsp;<a class="Constant" href="term.html#'t_Sb'" name="'t_Sb'">'t_Sb'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_Sf&nbsp;&nbsp;&nbsp;&nbsp;set foreground color&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_Sf" name="t_Sf">t_Sf</a>&nbsp;<a class="Constant" href="term.html#'t_Sf'" name="'t_Sf'">'t_Sf'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_se&nbsp;&nbsp;&nbsp;&nbsp;standout end&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_se" name="t_se">t_se</a>&nbsp;<a class="Constant" href="term.html#'t_se'" name="'t_se'">'t_se'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_so&nbsp;&nbsp;&nbsp;&nbsp;standout mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_so" name="t_so">t_so</a>&nbsp;<a class="Constant" href="term.html#'t_so'" name="'t_so'">'t_so'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_sr&nbsp;&nbsp;&nbsp;&nbsp;scroll reverse (backward)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_sr" name="t_sr">t_sr</a>&nbsp;<a class="Constant" href="term.html#'t_sr'" name="'t_sr'">'t_sr'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_te&nbsp;&nbsp;&nbsp;&nbsp;out of &quot;termcap&quot; mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_te" name="t_te">t_te</a>&nbsp;<a class="Constant" href="term.html#'t_te'" name="'t_te'">'t_te'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ti&nbsp;&nbsp;&nbsp;&nbsp;put terminal in &quot;termcap&quot; mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ti" name="t_ti">t_ti</a>&nbsp;<a class="Constant" href="term.html#'t_ti'" name="'t_ti'">'t_ti'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ts&nbsp;&nbsp;&nbsp;&nbsp;set window title start (to status line)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ts" name="t_ts">t_ts</a>&nbsp;<a class="Constant" href="term.html#'t_ts'" name="'t_ts'">'t_ts'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ue&nbsp;&nbsp;&nbsp;&nbsp;underline end&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ue" name="t_ue">t_ue</a>&nbsp;<a class="Constant" href="term.html#'t_ue'" name="'t_ue'">'t_ue'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_us&nbsp;&nbsp;&nbsp;&nbsp;underline mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_us" name="t_us">t_us</a>&nbsp;<a class="Constant" href="term.html#'t_us'" name="'t_us'">'t_us'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_Ce&nbsp;&nbsp;&nbsp;&nbsp;undercurl end&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_Ce" name="t_Ce">t_Ce</a>&nbsp;<a class="Constant" href="term.html#'t_Ce'" name="'t_Ce'">'t_Ce'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_Cs&nbsp;&nbsp;&nbsp;&nbsp;undercurl mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_Cs" name="t_Cs">t_Cs</a>&nbsp;<a class="Constant" href="term.html#'t_Cs'" name="'t_Cs'">'t_Cs'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ut&nbsp;&nbsp;&nbsp;&nbsp;clearing uses the current background color&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ut" name="t_ut">t_ut</a>&nbsp;<a class="Constant" href="term.html#'t_ut'" name="'t_ut'">'t_ut'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_vb&nbsp;&nbsp;&nbsp;&nbsp;visual bell&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_vb" name="t_vb">t_vb</a>&nbsp;<a class="Constant" href="term.html#'t_vb'" name="'t_vb'">'t_vb'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ve&nbsp;&nbsp;&nbsp;&nbsp;cursor visible&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ve" name="t_ve">t_ve</a>&nbsp;<a class="Constant" href="term.html#'t_ve'" name="'t_ve'">'t_ve'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_vi&nbsp;&nbsp;&nbsp;&nbsp;cursor invisible&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_vi" name="t_vi">t_vi</a>&nbsp;<a class="Constant" href="term.html#'t_vi'" name="'t_vi'">'t_vi'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_vs&nbsp;&nbsp;&nbsp;&nbsp;cursor very visible&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_vs" name="t_vs">t_vs</a>&nbsp;<a class="Constant" href="term.html#'t_vs'" name="'t_vs'">'t_vs'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_xs" name="t_xs">t_xs</a>&nbsp;<a class="Constant" href="term.html#'t_xs'" name="'t_xs'">'t_xs'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_xs&nbsp;&nbsp;&nbsp;&nbsp;if non-empty, standout not erased by overwriting (hpterm)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_xn" name="t_xn">t_xn</a>&nbsp;<a class="Constant" href="term.html#'t_xn'" name="'t_xn'">'t_xn'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_xn&nbsp;&nbsp;&nbsp;&nbsp;if non-empty, writing a character at the last screen cell<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;does not cause scrolling<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ZH&nbsp;&nbsp;&nbsp;&nbsp;italics mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ZH" name="t_ZH">t_ZH</a>&nbsp;<a class="Constant" href="term.html#'t_ZH'" name="'t_ZH'">'t_ZH'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ZR&nbsp;&nbsp;&nbsp;&nbsp;italics end&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ZR" name="t_ZR">t_ZR</a>&nbsp;<a class="Constant" href="term.html#'t_ZR'" name="'t_ZR'">'t_ZR'</a><br>
<br>
Added by Vim (there are no standard codes for these):<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_IS&nbsp;&nbsp;&nbsp;&nbsp;set icon text start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_IS" name="t_IS">t_IS</a>&nbsp;<a class="Constant" href="term.html#'t_IS'" name="'t_IS'">'t_IS'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_IE&nbsp;&nbsp;&nbsp;&nbsp;set icon text end&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_IE" name="t_IE">t_IE</a>&nbsp;<a class="Constant" href="term.html#'t_IE'" name="'t_IE'">'t_IE'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_WP&nbsp;&nbsp;&nbsp;&nbsp;set window position (Y, X) in pixels&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_WP" name="t_WP">t_WP</a>&nbsp;<a class="Constant" href="term.html#'t_WP'" name="'t_WP'">'t_WP'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_GP&nbsp;&nbsp;&nbsp;&nbsp;get window position (Y, X) in pixels&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_GP" name="t_GP">t_GP</a>&nbsp;<a class="Constant" href="term.html#'t_GP'" name="'t_GP'">'t_GP'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_WS&nbsp;&nbsp;&nbsp;&nbsp;set window size (height, width in cells)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_WS" name="t_WS">t_WS</a>&nbsp;<a class="Constant" href="term.html#'t_WS'" name="'t_WS'">'t_WS'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_SI&nbsp;&nbsp;&nbsp;&nbsp;start insert mode (bar cursor shape)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_SI" name="t_SI">t_SI</a>&nbsp;<a class="Constant" href="term.html#'t_SI'" name="'t_SI'">'t_SI'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_SR&nbsp;&nbsp;&nbsp;&nbsp;start replace mode (underline cursor shape)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_SR" name="t_SR">t_SR</a>&nbsp;<a class="Constant" href="term.html#'t_SR'" name="'t_SR'">'t_SR'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_EI&nbsp;&nbsp;&nbsp;&nbsp;end insert or replace mode (block cursor shape)&nbsp;<a class="Constant" href="term.html#t_EI" name="t_EI">t_EI</a>&nbsp;<a class="Constant" href="term.html#'t_EI'" name="'t_EI'">'t_EI'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#termcap-cursor-shape">termcap-cursor-shape</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_RV&nbsp;&nbsp;&nbsp;&nbsp;request terminal version string (for xterm)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_RV" name="t_RV">t_RV</a>&nbsp;<a class="Constant" href="term.html#'t_RV'" name="'t_RV'">'t_RV'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#xterm-8bit">xterm-8bit</a>&nbsp;<a class="Identifier" href="eval.html#v:termresponse">v:termresponse</a>&nbsp;<a class="Identifier" href="options.html#'ttymouse'">'ttymouse'</a>&nbsp;<a class="Identifier" href="term.html#xterm-codes">xterm-codes</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_u7&nbsp;&nbsp;&nbsp;&nbsp;request cursor position (for xterm)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_u7" name="t_u7">t_u7</a>&nbsp;<a class="Constant" href="term.html#'t_u7'" name="'t_u7'">'t_u7'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;see&nbsp;<a class="Identifier" href="options.html#'ambiwidth'">'ambiwidth'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_RB&nbsp;&nbsp;&nbsp;&nbsp;request terminal background color&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_RB" name="t_RB">t_RB</a>&nbsp;<a class="Constant" href="term.html#'t_RB'" name="'t_RB'">'t_RB'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_8f&nbsp;&nbsp;&nbsp;&nbsp;set foreground color (R, G, B)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_8f" name="t_8f">t_8f</a>&nbsp;<a class="Constant" href="term.html#'t_8f'" name="'t_8f'">'t_8f'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#xterm-true-color">xterm-true-color</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_8b&nbsp;&nbsp;&nbsp;&nbsp;set background color (R, G, B)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_8b" name="t_8b">t_8b</a>&nbsp;<a class="Constant" href="term.html#'t_8b'" name="'t_8b'">'t_8b'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#xterm-true-color">xterm-true-color</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_BE&nbsp;&nbsp;&nbsp;&nbsp;enable bracketed paste mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_BE" name="t_BE">t_BE</a>&nbsp;<a class="Constant" href="term.html#'t_BE'" name="'t_BE'">'t_BE'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#xterm-bracketed-paste">xterm-bracketed-paste</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_BD&nbsp;&nbsp;&nbsp;&nbsp;disable bracketed paste mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_BD" name="t_BD">t_BD</a>&nbsp;<a class="Constant" href="term.html#'t_BD'" name="'t_BD'">'t_BD'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Identifier" href="term.html#xterm-bracketed-paste">xterm-bracketed-paste</a><br>
<br>
<span class="Statement">KEY CODES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><a class="Constant" href="term.html#terminal-key-codes" name="terminal-key-codes">terminal-key-codes</a><br>
<span class="Todo">Note</span>: Use the &lt;&gt; form if possible<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">option&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;meaning</span><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_ku&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Up&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arrow up&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_ku" name="t_ku">t_ku</a>&nbsp;<a class="Constant" href="term.html#'t_ku'" name="'t_ku'">'t_ku'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kd&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Down&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arrow down&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kd" name="t_kd">t_kd</a>&nbsp;<a class="Constant" href="term.html#'t_kd'" name="'t_kd'">'t_kd'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kr&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Right&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arrow right&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kr" name="t_kr">t_kr</a>&nbsp;<a class="Constant" href="term.html#'t_kr'" name="'t_kr'">'t_kr'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kl&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Left&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;arrow left&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kl" name="t_kl">t_kl</a>&nbsp;<a class="Constant" href="term.html#'t_kl'" name="'t_kl'">'t_kl'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xUp&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate arrow up&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xUp>" name="&lt;xUp&gt;">&lt;xUp&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xDown&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate arrow down&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xDown>" name="&lt;xDown&gt;">&lt;xDown&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xRight&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alternate arrow right&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xRight>" name="&lt;xRight&gt;">&lt;xRight&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xLeft&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate arrow left&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xLeft>" name="&lt;xLeft&gt;">&lt;xLeft&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-Up&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shift arrow up<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-Down&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shift arrow down<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_%i&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-Right&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shift arrow right&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_%i" name="t_%i">t_%i</a>&nbsp;<a class="Constant" href="term.html#'t_%i'" name="'t_%i'">'t_%i'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_#4&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-Left&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shift arrow left&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_#4" name="t_#4">t_#4</a>&nbsp;<a class="Constant" href="term.html#'t_#4'" name="'t_#4'">'t_#4'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k1&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F1&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_k1" name="t_k1">t_k1</a>&nbsp;<a class="Constant" href="term.html#'t_k1'" name="'t_k1'">'t_k1'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xF1&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate F1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xF1>" name="&lt;xF1&gt;">&lt;xF1&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k2&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F2&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F2>" name="&lt;F2&gt;">&lt;F2&gt;</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_k2" name="t_k2">t_k2</a>&nbsp;<a class="Constant" href="term.html#'t_k2'" name="'t_k2'">'t_k2'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xF2&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate F2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xF2>" name="&lt;xF2&gt;">&lt;xF2&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k3&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F3&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F3>" name="&lt;F3&gt;">&lt;F3&gt;</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_k3" name="t_k3">t_k3</a>&nbsp;<a class="Constant" href="term.html#'t_k3'" name="'t_k3'">'t_k3'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xF3&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate F3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xF3>" name="&lt;xF3&gt;">&lt;xF3&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k4&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F4&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F4>" name="&lt;F4&gt;">&lt;F4&gt;</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_k4" name="t_k4">t_k4</a>&nbsp;<a class="Constant" href="term.html#'t_k4'" name="'t_k4'">'t_k4'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xF4&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate F4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xF4>" name="&lt;xF4&gt;">&lt;xF4&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k5&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F5&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F5>" name="&lt;F5&gt;">&lt;F5&gt;</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_k5" name="t_k5">t_k5</a>&nbsp;<a class="Constant" href="term.html#'t_k5'" name="'t_k5'">'t_k5'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k6&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F6&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F6>" name="&lt;F6&gt;">&lt;F6&gt;</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_k6" name="t_k6">t_k6</a>&nbsp;<a class="Constant" href="term.html#'t_k6'" name="'t_k6'">'t_k6'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k7&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F7&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F7>" name="&lt;F7&gt;">&lt;F7&gt;</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_k7" name="t_k7">t_k7</a>&nbsp;<a class="Constant" href="term.html#'t_k7'" name="'t_k7'">'t_k7'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k8&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F8&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F8>" name="&lt;F8&gt;">&lt;F8&gt;</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_k8" name="t_k8">t_k8</a>&nbsp;<a class="Constant" href="term.html#'t_k8'" name="'t_k8'">'t_k8'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k9&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F9&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function key 9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F9>" name="&lt;F9&gt;">&lt;F9&gt;</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_k9" name="t_k9">t_k9</a>&nbsp;<a class="Constant" href="term.html#'t_k9'" name="'t_k9'">'t_k9'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_k;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F10&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F10>" name="&lt;F10&gt;">&lt;F10&gt;</a>&nbsp;<a class="Constant" href="term.html#t_k;" name="t_k;">t_k;</a>&nbsp;<a class="Constant" href="term.html#'t_k;'" name="'t_k;'">'t_k;'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F1&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F11&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F11>" name="&lt;F11&gt;">&lt;F11&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F1" name="t_F1">t_F1</a>&nbsp;<a class="Constant" href="term.html#'t_F1'" name="'t_F1'">'t_F1'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F2&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F12&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F12>" name="&lt;F12&gt;">&lt;F12&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F2" name="t_F2">t_F2</a>&nbsp;<a class="Constant" href="term.html#'t_F2'" name="'t_F2'">'t_F2'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F3&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F13&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F13>" name="&lt;F13&gt;">&lt;F13&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F3" name="t_F3">t_F3</a>&nbsp;<a class="Constant" href="term.html#'t_F3'" name="'t_F3'">'t_F3'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F4&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F14&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 14&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F14>" name="&lt;F14&gt;">&lt;F14&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F4" name="t_F4">t_F4</a>&nbsp;<a class="Constant" href="term.html#'t_F4'" name="'t_F4'">'t_F4'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F5&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F15&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 15&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F15>" name="&lt;F15&gt;">&lt;F15&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F5" name="t_F5">t_F5</a>&nbsp;<a class="Constant" href="term.html#'t_F5'" name="'t_F5'">'t_F5'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F6&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F16&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F16>" name="&lt;F16&gt;">&lt;F16&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F6" name="t_F6">t_F6</a>&nbsp;<a class="Constant" href="term.html#'t_F6'" name="'t_F6'">'t_F6'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F7&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F17&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F17>" name="&lt;F17&gt;">&lt;F17&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F7" name="t_F7">t_F7</a>&nbsp;<a class="Constant" href="term.html#'t_F7'" name="'t_F7'">'t_F7'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F8&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F18&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F18>" name="&lt;F18&gt;">&lt;F18&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F8" name="t_F8">t_F8</a>&nbsp;<a class="Constant" href="term.html#'t_F8'" name="'t_F8'">'t_F8'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_F9&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;F19&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function key 19&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<F19>" name="&lt;F19&gt;">&lt;F19&gt;</a>&nbsp;<a class="Constant" href="term.html#t_F9" name="t_F9">t_F9</a>&nbsp;<a class="Constant" href="term.html#'t_F9'" name="'t_F9'">'t_F9'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F1&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-xF1&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate&nbsp;<span class="Special">&lt;S-F1&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-xF1>" name="&lt;S-xF1&gt;">&lt;S-xF1&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F2&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F2>" name="&lt;S-F2&gt;">&lt;S-F2&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-xF2&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate&nbsp;<span class="Special">&lt;S-F2&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-xF2>" name="&lt;S-xF2&gt;">&lt;S-xF2&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F3&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F3>" name="&lt;S-F3&gt;">&lt;S-F3&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-xF3&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate&nbsp;<span class="Special">&lt;S-F3&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-xF3>" name="&lt;S-xF3&gt;">&lt;S-xF3&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F4&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F4>" name="&lt;S-F4&gt;">&lt;S-F4&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-xF4&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate&nbsp;<span class="Special">&lt;S-F4&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-xF4>" name="&lt;S-xF4&gt;">&lt;S-xF4&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F5&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F5>" name="&lt;S-F5&gt;">&lt;S-F5&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F6&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F6>" name="&lt;S-F6&gt;">&lt;S-F6&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F7&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F7>" name="&lt;S-F7&gt;">&lt;S-F7&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F8&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F8>" name="&lt;S-F8&gt;">&lt;S-F8&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F9&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted function key 9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F9>" name="&lt;S-F9&gt;">&lt;S-F9&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F10&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shifted function key 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F10>" name="&lt;S-F10&gt;">&lt;S-F10&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F11&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shifted function key 11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F11>" name="&lt;S-F11&gt;">&lt;S-F11&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-F12&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shifted function key 12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-F12>" name="&lt;S-F12&gt;">&lt;S-F12&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_%1&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Help&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;help key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_%1" name="t_%1">t_%1</a>&nbsp;<a class="Constant" href="term.html#'t_%1'" name="'t_%1'">'t_%1'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_&amp;8&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Undo&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;undo key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_&8" name="t_&amp;8">t_&amp;8</a>&nbsp;<a class="Constant" href="term.html#'t_&8'" name="'t_&amp;8'">'t_&amp;8'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kI&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Insert&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;insert key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kI" name="t_kI">t_kI</a>&nbsp;<a class="Constant" href="term.html#'t_kI'" name="'t_kI'">'t_kI'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kD&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Del&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delete key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kD" name="t_kD">t_kD</a>&nbsp;<a class="Constant" href="term.html#'t_kD'" name="'t_kD'">'t_kD'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kb&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;BS&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;backspace key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kb" name="t_kb">t_kb</a>&nbsp;<a class="Constant" href="term.html#'t_kb'" name="'t_kb'">'t_kb'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kB&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-Tab&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; back-tab (shift-tab)&nbsp;&nbsp;<a class="Constant" href="term.html#<S-Tab>" name="&lt;S-Tab&gt;">&lt;S-Tab&gt;</a>&nbsp;<a class="Constant" href="term.html#t_kB" name="t_kB">t_kB</a>&nbsp;<a class="Constant" href="term.html#'t_kB'" name="'t_kB'">'t_kB'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kh&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Home&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;home key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kh" name="t_kh">t_kh</a>&nbsp;<a class="Constant" href="term.html#'t_kh'" name="'t_kh'">'t_kh'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_#2&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-Home&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shifted home key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-Home>" name="&lt;S-Home&gt;">&lt;S-Home&gt;</a>&nbsp;<a class="Constant" href="term.html#t_#2" name="t_#2">t_#2</a>&nbsp;<a class="Constant" href="term.html#'t_#2'" name="'t_#2'">'t_#2'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xHome&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alternate home key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xHome>" name="&lt;xHome&gt;">&lt;xHome&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_@7&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;End&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_@7" name="t_@7">t_@7</a>&nbsp;<a class="Constant" href="term.html#'t_@7'" name="'t_@7'">'t_@7'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_*7&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;S-End&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shifted end key&nbsp;<a class="Constant" href="term.html#<S-End>" name="&lt;S-End&gt;">&lt;S-End&gt;</a>&nbsp;<a class="Constant" href="term.html#t_star7" name="t_star7">t_star7</a>&nbsp;<a class="Constant" href="term.html#'t_star7'" name="'t_star7'">'t_star7'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;xEnd&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alternate end key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<xEnd>" name="&lt;xEnd&gt;">&lt;xEnd&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kP&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;PageUp&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page-up key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kP" name="t_kP">t_kP</a>&nbsp;<a class="Constant" href="term.html#'t_kP'" name="'t_kP'">'t_kP'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_kN&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;PageDown&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page-down key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_kN" name="t_kN">t_kN</a>&nbsp;<a class="Constant" href="term.html#'t_kN'" name="'t_kN'">'t_kN'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_K1&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kHome&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keypad home key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_K1" name="t_K1">t_K1</a>&nbsp;<a class="Constant" href="term.html#'t_K1'" name="'t_K1'">'t_K1'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_K4&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kEnd&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad end key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_K4" name="t_K4">t_K4</a>&nbsp;<a class="Constant" href="term.html#'t_K4'" name="'t_K4'">'t_K4'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_K3&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kPageUp&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keypad page-up key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_K3" name="t_K3">t_K3</a>&nbsp;<a class="Constant" href="term.html#'t_K3'" name="'t_K3'">'t_K3'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_K5&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kPageDown&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; keypad page-down key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_K5" name="t_K5">t_K5</a>&nbsp;<a class="Constant" href="term.html#'t_K5'" name="'t_K5'">'t_K5'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_K6&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kPlus&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keypad plus key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<kPlus>" name="&lt;kPlus&gt;">&lt;kPlus&gt;</a>&nbsp;<a class="Constant" href="term.html#t_K6" name="t_K6">t_K6</a>&nbsp;<a class="Constant" href="term.html#'t_K6'" name="'t_K6'">'t_K6'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_K7&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kMinus&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad minus key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<kMinus>" name="&lt;kMinus&gt;">&lt;kMinus&gt;</a>&nbsp;<a class="Constant" href="term.html#t_K7" name="t_K7">t_K7</a>&nbsp;<a class="Constant" href="term.html#'t_K7'" name="'t_K7'">'t_K7'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_K8&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kDivide&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keypad divide&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<kDivide>" name="&lt;kDivide&gt;">&lt;kDivide&gt;</a>&nbsp;<a class="Constant" href="term.html#t_K8" name="t_K8">t_K8</a>&nbsp;<a class="Constant" href="term.html#'t_K8'" name="'t_K8'">'t_K8'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_K9&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kMultiply&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; keypad multiply&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<kMultiply>" name="&lt;kMultiply&gt;">&lt;kMultiply&gt;</a>&nbsp;<a class="Constant" href="term.html#t_K9" name="t_K9">t_K9</a>&nbsp;<a class="Constant" href="term.html#'t_K9'" name="'t_K9'">'t_K9'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KA&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kEnter&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad enter key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<kEnter>" name="&lt;kEnter&gt;">&lt;kEnter&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KA" name="t_KA">t_KA</a>&nbsp;<a class="Constant" href="term.html#'t_KA'" name="'t_KA'">'t_KA'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KB&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;kPoint&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad decimal point&nbsp;<a class="Constant" href="term.html#<kPoint>" name="&lt;kPoint&gt;">&lt;kPoint&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KB" name="t_KB">t_KB</a>&nbsp;<a class="Constant" href="term.html#'t_KB'" name="'t_KB'">'t_KB'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KC&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k0&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k0>" name="&lt;k0&gt;">&lt;k0&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KC" name="t_KC">t_KC</a>&nbsp;<a class="Constant" href="term.html#'t_KC'" name="'t_KC'">'t_KC'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KD&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k1&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k1>" name="&lt;k1&gt;">&lt;k1&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KD" name="t_KD">t_KD</a>&nbsp;<a class="Constant" href="term.html#'t_KD'" name="'t_KD'">'t_KD'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KE&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k2&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k2>" name="&lt;k2&gt;">&lt;k2&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KE" name="t_KE">t_KE</a>&nbsp;<a class="Constant" href="term.html#'t_KE'" name="'t_KE'">'t_KE'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KF&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k3&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k3>" name="&lt;k3&gt;">&lt;k3&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KF" name="t_KF">t_KF</a>&nbsp;<a class="Constant" href="term.html#'t_KF'" name="'t_KF'">'t_KF'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KG&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k4&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k4>" name="&lt;k4&gt;">&lt;k4&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KG" name="t_KG">t_KG</a>&nbsp;<a class="Constant" href="term.html#'t_KG'" name="'t_KG'">'t_KG'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KH&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k5&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k5>" name="&lt;k5&gt;">&lt;k5&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KH" name="t_KH">t_KH</a>&nbsp;<a class="Constant" href="term.html#'t_KH'" name="'t_KH'">'t_KH'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KI&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k6&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k6>" name="&lt;k6&gt;">&lt;k6&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KI" name="t_KI">t_KI</a>&nbsp;<a class="Constant" href="term.html#'t_KI'" name="'t_KI'">'t_KI'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KJ&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k7&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k7>" name="&lt;k7&gt;">&lt;k7&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KJ" name="t_KJ">t_KJ</a>&nbsp;<a class="Constant" href="term.html#'t_KJ'" name="'t_KJ'">'t_KJ'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KK&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k8&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k8>" name="&lt;k8&gt;">&lt;k8&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KK" name="t_KK">t_KK</a>&nbsp;<a class="Constant" href="term.html#'t_KK'" name="'t_KK'">'t_KK'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_KL&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;k9&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keypad 9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<k9>" name="&lt;k9&gt;">&lt;k9&gt;</a>&nbsp;<a class="Constant" href="term.html#t_KL" name="t_KL">t_KL</a>&nbsp;<a class="Constant" href="term.html#'t_KL'" name="'t_KL'">'t_KL'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Special">&lt;Mouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; leader of mouse code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<Mouse>" name="&lt;Mouse&gt;">&lt;Mouse&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#t_PS" name="t_PS">t_PS</a>&nbsp;<a class="Constant" href="term.html#'t_PS'" name="'t_PS'">'t_PS'</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_PS&nbsp;&nbsp;&nbsp;&nbsp;start of bracketed paste&nbsp;<a class="Identifier" href="term.html#xterm-bracketed-paste">xterm-bracketed-paste</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;t_PE&nbsp;&nbsp;&nbsp;&nbsp;end of bracketed paste&nbsp;<a class="Identifier" href="term.html#xterm-bracketed-paste">xterm-bracketed-paste</a>&nbsp;&nbsp;<a class="Constant" href="term.html#t_PE" name="t_PE">t_PE</a>&nbsp;<a class="Constant" href="term.html#'t_PE'" name="'t_PE'">'t_PE'</a><br>
<br>
<span class="Todo">Note</span>&nbsp;about t_so and t_mr: When the termcap entry &quot;so&quot; is not present the<br>
entry for &quot;mr&quot; is used.&nbsp;&nbsp;And vice versa.&nbsp;&nbsp;The same is done for &quot;se&quot; and &quot;me&quot;.<br>
If your terminal supports both inversion and standout mode, you can see two<br>
different modes.&nbsp;&nbsp;If your terminal supports only one of the modes, both will<br>
look the same.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#keypad-comma" name="keypad-comma">keypad-comma</a><br>
The keypad keys, when they are not mapped, behave like the equivalent normal<br>
key.&nbsp;&nbsp;There is one exception: if you have a comma on the keypad instead of a<br>
decimal point, Vim will use a dot anyway.&nbsp;&nbsp;Use these mappings to fix that:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap &lt;kPoint&gt; ,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap! &lt;kPoint&gt; ,</div>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-codes" name="xterm-codes">xterm-codes</a><br>
There is a special trick to obtain the key codes which currently only works<br>
for xterm.&nbsp;&nbsp;When&nbsp;<a class="Identifier" href="term.html#t_RV">t_RV</a>&nbsp;is defined and a response is received which indicates<br>
an xterm with patchlevel 141 or higher, Vim uses special escape sequences to<br>
request the key codes directly from the xterm.&nbsp;&nbsp;The responses are used to<br>
adjust the various t_ codes.&nbsp;&nbsp;This avoids the problem that the xterm can<br>
produce different codes, depending on the mode it is in (8-bit, VT102,<br>
VT220, etc.).&nbsp;&nbsp;The result is that codes like&nbsp;<span class="Special">&lt;xF1&gt;</span>&nbsp;are no longer needed.<br>
<span class="Todo">Note</span>: This is only done on startup.&nbsp;&nbsp;If the xterm options are changed after<br>
Vim has started, the escape sequences may not be recognized anymore.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-true-color" name="xterm-true-color">xterm-true-color</a><br>
Vim supports using true colors in the terminal (taken from&nbsp;<a class="Identifier" href="syntax.html#highlight-guifg">highlight-guifg</a><br>
and&nbsp;<a class="Identifier" href="syntax.html#highlight-guibg">highlight-guibg</a>), given that the terminal supports this. To make this&nbsp;<br>
work the&nbsp;<a class="Type" href="options.html#'termguicolors'">'termguicolors'</a>&nbsp;option needs to be set.<br>
See&nbsp;<span class="Constant"><a href="https://gist.github.com/XVilka/8346728">https://gist.github.com/XVilka/8346728</a></span>&nbsp;for a list of terminals that<br>
support true colors.<br>
<br>
Sometimes setting&nbsp;<a class="Type" href="options.html#'termguicolors'">'termguicolors'</a>&nbsp;is not enough and one has to set the&nbsp;<a class="Identifier" href="term.html#t_8f">t_8f</a><br>
and&nbsp;<a class="Identifier" href="term.html#t_8b">t_8b</a>&nbsp;options explicitly. Default values of these options are<br>
&quot;^[[38;2;%lu;%lu;%lum&quot; and &quot;^[[48;2;%lu;%lu;%lum&quot; respectively, but it is only<br>
set when&nbsp;<span class="Comment">$TERM</span>&nbsp;is&nbsp;<span class="Comment">xterm</span>. Some terminals accept the same sequences, but<br>
with all semicolons replaced by colons (this is actually more compatible, but<br>
less widely supported):<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; let &amp;t_8f = &quot;\&lt;Esc&gt;[38:2:%lu:%lu:%lum&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; let &amp;t_8b = &quot;\&lt;Esc&gt;[48:2:%lu:%lu:%lum&quot;</div>
<br>
These options contain printf strings, with&nbsp;<a class="Identifier" href="eval.html#printf()">printf()</a>&nbsp;(actually, its C<br>
equivalent hence&nbsp;<a class="Comment" href="motion.html#l">l</a>&nbsp;modifier) invoked with the t_ option value and three<br>
unsigned long integers that may have any value between 0 and 255 (inclusive)<br>
representing red, green and blue colors respectively.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-resize" name="xterm-resize">xterm-resize</a><br>
Window resizing with xterm only works if the allowWindowOps resource is<br>
enabled.&nbsp;&nbsp;On some systems and versions of xterm it's disabled by default<br>
because someone thought it would be a security issue.&nbsp;&nbsp;It's not clear if this<br>
is actually the case.<br>
<br>
To overrule the default, put this line in your ~/.Xdefaults or<br>
~/.Xresources:<br>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XTerm*allowWindowOps:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true</div>
<br>
And run &quot;xrdb -merge .Xresources&quot; to make it effective.&nbsp;&nbsp;You can check the<br>
value with the context menu (right mouse button while CTRL key is pressed),<br>
there should be a tick at allow-window-ops.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#termcap-colors" name="termcap-colors">termcap-colors</a><br>
<span class="Todo">Note</span>&nbsp;about colors: The&nbsp;<a class="Type" href="term.html#'t_Co'">'t_Co'</a>&nbsp;option tells Vim the number of colors available.<br>
When it is non-zero, the&nbsp;<a class="Type" href="term.html#'t_AB'">'t_AB'</a>&nbsp;and&nbsp;<a class="Type" href="term.html#'t_AF'">'t_AF'</a>&nbsp;options are used to set the color.<br>
If one of these is not available,&nbsp;<a class="Type" href="term.html#'t_Sb'">'t_Sb'</a>&nbsp;and&nbsp;<a class="Type" href="term.html#'t_Sf'">'t_Sf'</a>&nbsp;are used.&nbsp;&nbsp;<a class="Type" href="term.html#'t_me'">'t_me'</a>&nbsp;is used<br>
to reset to the default colors.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#termcap-cursor-shape" name="termcap-cursor-shape">termcap-cursor-shape</a>&nbsp;<a class="Constant" href="term.html#termcap-cursor-color" name="termcap-cursor-color">termcap-cursor-color</a><br>
When Vim enters Insert mode the&nbsp;<a class="Type" href="term.html#'t_SI'">'t_SI'</a>&nbsp;escape sequence is sent.&nbsp;&nbsp;When Vim<br>
enters Replace mode the&nbsp;<a class="Type" href="term.html#'t_SR'">'t_SR'</a>&nbsp;escape sequence is sent if it is set, otherwise<br>
<a class="Type" href="term.html#'t_SI'">'t_SI'</a>&nbsp;is sent.&nbsp;&nbsp;When leaving Insert mode or Replace mode&nbsp;<a class="Type" href="term.html#'t_EI'">'t_EI'</a>&nbsp;is used. This<br>
can be used to change the shape or color of the cursor in Insert or Replace<br>
mode. These are not standard termcap/terminfo entries, you need to set them<br>
yourself.<br>
Example for an xterm, this changes the color of the cursor:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;if &amp;term =~ &quot;xterm&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let &amp;t_SI = &quot;\&lt;Esc&gt;]12;purple\x7&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let &amp;t_SR = &quot;\&lt;Esc&gt;]12;red\x7&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let &amp;t_EI = &quot;\&lt;Esc&gt;]12;blue\x7&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;endif</div>
<span class="Todo">NOTE</span>: When Vim exits the shape for Normal mode will remain.&nbsp;&nbsp;The shape from<br>
before Vim started will not be restored.<br>
<span class="Special">{not available when compiled without the&nbsp;</span><a class="Identifier" href="various.html#+cursorshape">+cursorshape</a><span class="Special">&nbsp;feature}</span><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#termcap-title" name="termcap-title">termcap-title</a><br>
The&nbsp;<a class="Type" href="term.html#'t_ts'">'t_ts'</a>&nbsp;and&nbsp;<a class="Type" href="term.html#'t_fs'">'t_fs'</a>&nbsp;options are used to set the window title if the terminal<br>
allows title setting via sending strings.&nbsp;&nbsp;They are sent before and after the<br>
title string, respectively.&nbsp;&nbsp;Similar&nbsp;<a class="Type" href="term.html#'t_IS'">'t_IS'</a>&nbsp;and&nbsp;<a class="Type" href="term.html#'t_IE'">'t_IE'</a>&nbsp;&nbsp;are used to set the<br>
icon text.&nbsp;&nbsp;These are Vim-internal extensions of the Unix termcap, so they<br>
cannot be obtained from an external termcap.&nbsp;&nbsp;However, the builtin termcap<br>
contains suitable entries for xterm and iris-ansi, so you don't need to set<br>
them here.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#hpterm" name="hpterm">hpterm</a><br>
If inversion or other highlighting does not work correctly, try setting the<br>
<a class="Type" href="term.html#'t_xs'">'t_xs'</a>&nbsp;option to a non-empty string.&nbsp;&nbsp;This makes the&nbsp;<a class="Type" href="term.html#'t_ce'">'t_ce'</a>&nbsp;code be used to<br>
remove highlighting from a line.&nbsp;&nbsp;This is required for &quot;hpterm&quot;.&nbsp;&nbsp;Setting the<br>
<a class="Type" href="options.html#'weirdinvert'">'weirdinvert'</a>&nbsp;option has the same effect as making&nbsp;<a class="Type" href="term.html#'t_xs'">'t_xs'</a>&nbsp;non-empty, and vice<br>
versa.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#scroll-region" name="scroll-region">scroll-region</a><br>
Some termcaps do not include an entry for&nbsp;<span class="MissingTag">'cs'</span>&nbsp;(scroll region), although the<br>
terminal does support it.&nbsp;&nbsp;For example: xterm on a Sun.&nbsp;&nbsp;You can use the<br>
builtin_xterm or define t_cs yourself.&nbsp;&nbsp;For example:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set t_cs=^V^[[%i%d;%dr</div>
Where ^V is&nbsp;<span class="Special">CTRL-V</span>&nbsp;and ^[ is&nbsp;<span class="Special">&lt;Esc&gt;</span>.<br>
<br>
The vertical scroll region t_CV is not a standard termcap code.&nbsp;&nbsp;Vim uses it<br>
internally in the GUI.&nbsp;&nbsp;But it can also be defined for a terminal, if you can<br>
find one that supports it.&nbsp;&nbsp;The two arguments are the left and right column of<br>
the region which to restrict the scrolling to.&nbsp;&nbsp;Just like t_cs defines the top<br>
and bottom lines.&nbsp;&nbsp;Defining t_CV will make scrolling in vertically split<br>
windows a lot faster.&nbsp;&nbsp;Don't set t_CV when t_da or t_db is set (text isn't<br>
cleared when scrolling).<br>
<br>
Unfortunately it is not possible to deduce from the termcap how cursor<br>
positioning should be done when using a scrolling region: Relative to the<br>
beginning of the screen or relative to the beginning of the scrolling region.<br>
Most terminals use the first method.&nbsp;&nbsp;A known exception is the MS-DOS console<br>
(pcterm).&nbsp;&nbsp;The&nbsp;<a class="Type" href="term.html#'t_CS'">'t_CS'</a>&nbsp;option should be set to any string when cursor<br>
positioning is relative to the start of the scrolling region.&nbsp;&nbsp;It should be<br>
set to an empty string otherwise.&nbsp;&nbsp;It defaults to &quot;yes&quot; when&nbsp;<a class="Type" href="options.html#'term'">'term'</a>&nbsp;is<br>
&quot;pcterm&quot;.<br>
<br>
<span class="Todo">Note</span>&nbsp;for xterm users: The shifted cursor keys normally don't work.&nbsp;&nbsp;You can<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;make them work with the xmodmap command and some mappings in Vim.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Give these commands in the xterm:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmodmap -e &quot;keysym Up = Up F13&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmodmap -e &quot;keysym Down = Down F16&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmodmap -e &quot;keysym Left = Left F18&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;xmodmap -e &quot;keysym Right = Right F19&quot;<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;And use these mappings in Vim&#0058;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map&nbsp;<span class="Special">&lt;t_F3&gt;</span>&nbsp;<span class="Special">&lt;S-Up&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map!&nbsp;<span class="Special">&lt;t_F3&gt;</span>&nbsp;<span class="Special">&lt;S-Up&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map&nbsp;<span class="Special">&lt;t_F6&gt;</span>&nbsp;<span class="Special">&lt;S-Down&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map!&nbsp;<span class="Special">&lt;t_F6&gt;</span>&nbsp;<span class="Special">&lt;S-Down&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map&nbsp;<span class="Special">&lt;t_F8&gt;</span>&nbsp;<span class="Special">&lt;S-Left&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map!&nbsp;<span class="Special">&lt;t_F8&gt;</span>&nbsp;<span class="Special">&lt;S-Left&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map&nbsp;<span class="Special">&lt;t_F9&gt;</span>&nbsp;<span class="Special">&lt;S-Right&gt;</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map!&nbsp;<span class="Special">&lt;t_F9&gt;</span>&nbsp;<span class="Special">&lt;S-Right&gt;</span><br>
<br>
Instead of, say,&nbsp;<span class="Special">&lt;S-Up&gt;</span>&nbsp;you can use any other command that you want to use the<br>
shift-cursor-up key for.&nbsp;&nbsp;(<span class="Todo">Note</span>: To help people that have a Sun keyboard with<br>
left side keys F14 is not used because it is confused with the undo key; F15<br>
is not used, because it does a window-to-front; F17 is not used, because it<br>
closes the window.&nbsp;&nbsp;On other systems you can probably use them.)<br>
<br>
<span class="PreProc">==============================================================================</span><br>
3. Window size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#window-size" name="window-size">window-size</a><br>
<br>
[This is about the size of the whole window Vim is using, not a window that is<br>
created with the &quot;:split&quot; command.]<br>
<br>
If you are running Vim on an Amiga and the terminal name is &quot;amiga&quot; or<br>
&quot;builtin_amiga&quot;, the amiga-specific window resizing will be enabled.&nbsp;&nbsp;On Unix<br>
systems three methods are tried to get the window size:<br>
<br>
- an ioctl call (TIOCGSIZE or TIOCGWINSZ, depends on your system)<br>
- the environment variables &quot;LINES&quot; and &quot;COLUMNS&quot;<br>
- from the termcap entries &quot;li&quot; and &quot;co&quot;<br>
<br>
If everything fails a default size of 24 lines and 80 columns is assumed.&nbsp;&nbsp;If<br>
a window-resize signal is received the size will be set again.&nbsp;&nbsp;If the window<br>
size is wrong you can use the&nbsp;<a class="Type" href="options.html#'lines'">'lines'</a>&nbsp;and&nbsp;<a class="Type" href="options.html#'columns'">'columns'</a>&nbsp;options to set the<br>
correct values.<br>
<br>
One command can be used to set the screen size:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#:mod" name=":mod">:mod</a>&nbsp;<a class="Constant" href="term.html#:mode" name=":mode">:mode</a>&nbsp;<a class="Constant" href="term.html#E359" name="E359">E359</a><br>
:mod[e]&nbsp;<span class="Special">[mode]</span><br>
<br>
Without argument this only detects the screen size and redraws the screen.<br>
With MS-DOS it is possible to switch screen mode.&nbsp;&nbsp;<span class="Special">[mode]</span>&nbsp;can be one of these<br>
values:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;bw40&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;40 columns black&amp;white<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;c40&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 40 columns color<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;bw80&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;80 columns black&amp;white<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;c80&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 80 columns color (most people use this)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;mono&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;80 columns monochrome<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;c4350&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 43 or 50 lines EGA/VGA mode<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;number&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mode number to use, depends on your video card<br>
<br>
<span class="PreProc">==============================================================================</span><br>
4. Slow and fast terminals&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#slow-fast-terminal" name="slow-fast-terminal">slow-fast-terminal</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#slow-terminal" name="slow-terminal">slow-terminal</a><br>
<br>
If you have a fast terminal you may like to set the&nbsp;<a class="Type" href="options.html#'ruler'">'ruler'</a>&nbsp;option.&nbsp;&nbsp;The<br>
cursor position is shown in the status line.&nbsp;&nbsp;If you are using horizontal<br>
scrolling (<a class="Type" href="options.html#'wrap'">'wrap'</a>&nbsp;option off) consider setting&nbsp;<a class="Type" href="options.html#'sidescroll'">'sidescroll'</a>&nbsp;to a small<br>
number.<br>
<br>
If you have a slow terminal you may want to reset the&nbsp;<a class="Type" href="options.html#'showcmd'">'showcmd'</a>&nbsp;option.<br>
The command characters will not be shown in the status line.&nbsp;&nbsp;If the terminal<br>
scrolls very slowly, set the&nbsp;<a class="Type" href="options.html#'scrolljump'">'scrolljump'</a>&nbsp;to 5 or so.&nbsp;&nbsp;If the cursor is moved<br>
off the screen (e.g., with &quot;j&quot;) Vim will scroll 5 lines at a time.&nbsp;&nbsp;Another<br>
possibility is to reduce the number of lines that Vim uses with the command<br>
&quot;z<span class="Special">{height}&lt;CR&gt;</span>&quot;.<br>
<br>
If the characters from the terminal are arriving with more than 1 second<br>
between them you might want to set the&nbsp;<a class="Type" href="options.html#'timeout'">'timeout'</a>&nbsp;and/or&nbsp;<a class="Type" href="options.html#'ttimeout'">'ttimeout'</a>&nbsp;option.<br>
See the &quot;Options&quot; chapter&nbsp;<a class="Identifier" href="options.html#options">options</a>.<br>
<br>
If your terminal does not support a scrolling region, but it does support<br>
insert/delete line commands, scrolling with multiple windows may make the<br>
lines jump up and down.&nbsp;&nbsp;If you don't want this set the&nbsp;<a class="Type" href="options.html#'ttyfast'">'ttyfast'</a>&nbsp;option.<br>
This will redraw the window instead of scroll it.<br>
<br>
If your terminal scrolls very slowly, but redrawing is not slow, set the<br>
<a class="Type" href="options.html#'ttyscroll'">'ttyscroll'</a>&nbsp;option to a small number, e.g., 3.&nbsp;&nbsp;This will make Vim redraw the<br>
screen instead of scrolling, when there are more than 3 lines to be scrolled.<br>
<br>
If you are using a color terminal that is slow, use this command:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hi NonText cterm=NONE ctermfg=NONE</div>
This avoids that spaces are sent when they have different attributes.&nbsp;&nbsp;On most<br>
terminals you can't see this anyway.<br>
<br>
If you are using Vim over a slow serial line, you might want to try running<br>
Vim inside the &quot;screen&quot; program.&nbsp;&nbsp;Screen will optimize the terminal I/O quite<br>
a bit.<br>
<br>
If you are testing termcap options, but you cannot see what is happening,<br>
you might want to set the&nbsp;<a class="Type" href="options.html#'writedelay'">'writedelay'</a>&nbsp;option.&nbsp;&nbsp;When non-zero, one character<br>
is sent to the terminal at a time (does not work for MS-DOS).&nbsp;&nbsp;This makes the<br>
screen updating a lot slower, making it possible to see what is happening.<br>
<br>
<span class="PreProc">==============================================================================</span><br>
5. Using the mouse&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#mouse-using" name="mouse-using">mouse-using</a><br>
<br>
This section is about using the mouse on a terminal or a terminal window.&nbsp;&nbsp;How<br>
to use the mouse in a GUI window is explained in&nbsp;<a class="Identifier" href="gui.html#gui-mouse">gui-mouse</a>.&nbsp;&nbsp;For scrolling<br>
with a mouse wheel see&nbsp;<a class="Identifier" href="scroll.html#scroll-mouse-wheel">scroll-mouse-wheel</a>.<br>
<br>
Don't forget to enable the mouse with this command:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set mouse=a</div>
Otherwise Vim won't recognize the mouse in all modes (See&nbsp;<a class="Type" href="options.html#'mouse'">'mouse'</a>).<br>
<br>
Currently the mouse is supported for Unix in an xterm window, in a *BSD<br>
console with&nbsp;<a class="Identifier" href="term.html#sysmouse">sysmouse</a>, in a Linux console (with GPM&nbsp;<a class="Identifier" href="term.html#gpm-mouse">gpm-mouse</a>), for<br>
MS-DOS and in a Windows console.<br>
Mouse clicks can be used to position the cursor, select an area and paste.<br>
<br>
These characters in the&nbsp;<a class="Type" href="options.html#'mouse'">'mouse'</a>&nbsp;option tell in which situations the mouse will<br>
be used by Vim&#0058;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Normal mode<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Visual mode<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Insert mode<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Command-line mode<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all previous modes when in a help file<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all previous modes<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for&nbsp;<a class="Identifier" href="message.html#hit-enter">hit-enter</a>&nbsp;prompt<br>
<br>
The default for&nbsp;<a class="Type" href="options.html#'mouse'">'mouse'</a>&nbsp;is empty, the mouse is not used.&nbsp;&nbsp;Normally you would<br>
do:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set mouse=a</div>
to start using the mouse (this is equivalent to setting&nbsp;<a class="Type" href="options.html#'mouse'">'mouse'</a>&nbsp;to &quot;nvich&quot;).<br>
If you only want to use the mouse in a few modes or also want to use it for<br>
the two questions you will have to concatenate the letters for those modes.<br>
For example:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set mouse=nv</div>
Will make the mouse work in Normal mode and Visual mode.<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:set mouse=h</div>
Will make the mouse work in help files only (so you can use &quot;g<span class="Special">&lt;LeftMouse&gt;</span>&quot; to<br>
jump to tags).<br>
<br>
Whether the selection that is started with the mouse is in Visual mode or<br>
Select mode depends on whether &quot;mouse&quot; is included in the&nbsp;<a class="Type" href="options.html#'selectmode'">'selectmode'</a><br>
option.<br>
<br>
In an xterm, with the currently active mode included in the&nbsp;<a class="Type" href="options.html#'mouse'">'mouse'</a>&nbsp;option,<br>
normal mouse clicks are used by Vim, mouse clicks with the shift or ctrl key<br>
pressed go to the xterm.&nbsp;&nbsp;With the currently active mode not included in<br>
<a class="Type" href="options.html#'mouse'">'mouse'</a>&nbsp;all mouse clicks go to the xterm.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-clipboard" name="xterm-clipboard">xterm-clipboard</a><br>
In the Athena and Motif GUI versions, when running in a terminal and there is<br>
access to the X-server (DISPLAY is set), the copy and paste will behave like<br>
in the GUI.&nbsp;&nbsp;If not, the middle mouse button will insert the unnamed register.<br>
In that case, here is how you copy and paste a piece of text:<br>
<br>
Copy/paste with the mouse and Visual mode (<a class="Type" href="options.html#'mouse'">'mouse'</a>&nbsp;option must be set, see<br>
above):<br>
1. Press left mouse button on first letter of text, move mouse pointer to last<br>
&nbsp;&nbsp; letter of the text and release the button.&nbsp;&nbsp;This will start Visual mode and<br>
&nbsp;&nbsp; highlight the selected area.<br>
2. Press &quot;y&quot; to yank the Visual text in the unnamed register.<br>
3. Click the left mouse button at the insert position.<br>
4. Click the middle mouse button.<br>
<br>
Shortcut: If the insert position is on the screen at the same time as the<br>
Visual text, you can do 2, 3 and 4 all in one: Click the middle mouse button<br>
at the insert position.<br>
<br>
<span class="Todo">Note</span>: When the&nbsp;<a class="Identifier" href="starting.html#-X">-X</a>&nbsp;command line argument is used, Vim will not connect to the<br>
X server and copy/paste to the X clipboard (selection) will not work.&nbsp;&nbsp;Use the<br>
shift key with the mouse buttons to let the xterm do the selection.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-command-server" name="xterm-command-server">xterm-command-server</a><br>
When the X-server clipboard is available, the command server described in<br>
<a class="Identifier" href="remote.html#x11-clientserver">x11-clientserver</a>&nbsp;can be enabled with the --servername command line argument.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#xterm-copy-paste" name="xterm-copy-paste">xterm-copy-paste</a><br>
<span class="Todo">NOTE</span>: In some (older) xterms, it's not possible to move the cursor past column<br>
95 or 223.&nbsp;&nbsp;This is an xterm problem, not Vim's.&nbsp;&nbsp;Get a newer xterm<br>
<a class="Identifier" href="syntax.html#color-xterm">color-xterm</a>.&nbsp;&nbsp;Also see&nbsp;<a class="Identifier" href="options.html#'ttymouse'">'ttymouse'</a>.<br>
<br>
Copy/paste in xterm with (current mode NOT included in&nbsp;<a class="Type" href="options.html#'mouse'">'mouse'</a>):<br>
1. Press left mouse button on first letter of text, move mouse pointer to last<br>
&nbsp;&nbsp; letter of the text and release the button.<br>
2. Use normal Vim commands to put the cursor at the insert position.<br>
3. Press &quot;a&quot; to start Insert mode.<br>
4. Click the middle mouse button.<br>
5. Press ESC to end Insert mode.<br>
(The same can be done with anything in&nbsp;<a class="Type" href="options.html#'mouse'">'mouse'</a>&nbsp;if you keep the shift key<br>
pressed while using the mouse.)<br>
<br>
<span class="Todo">Note</span>: if you lose the 8th bit when pasting (special characters are translated<br>
into other characters), you may have to do &quot;stty cs8 -istrip -parenb&quot; in your<br>
shell before starting Vim.<br>
<br>
Thus in an xterm the shift and ctrl keys cannot be used with the mouse.&nbsp;&nbsp;Mouse<br>
commands requiring the CTRL modifier can be simulated by typing the &quot;g&quot; key<br>
before using the mouse:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;g<span class="Special">&lt;LeftMouse&gt;</span>&quot;&nbsp;&nbsp;is &quot;<span class="Special">&lt;C-LeftMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (jump to tag under mouse click)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;g<span class="Special">&lt;RightMouse&gt;</span>&quot; is &quot;<span class="Special">&lt;C-RightMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(&quot;<span class="Special">CTRL-T</span>&quot;)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#mouse-mode-table" name="mouse-mode-table">mouse-mode-table</a>&nbsp;<a class="Constant" href="term.html#mouse-overview" name="mouse-overview">mouse-overview</a><br>
A short overview of what the mouse buttons do, when&nbsp;<a class="Type" href="options.html#'mousemodel'">'mousemodel'</a>&nbsp;is &quot;extend&quot;:<br>
<br>
Normal Mode:<br>
<span class="PreProc">event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; position&nbsp;&nbsp;&nbsp;&nbsp; selection&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;change&nbsp;&nbsp;action</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">cursor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br>
<span class="Special">&lt;LeftMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br>
<span class="Special">&lt;C-LeftMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp;&quot;<span class="Special">CTRL-]</span>&quot; (2)<br>
<span class="Special">&lt;S-LeftMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no change&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;&quot;*&quot; (2)&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-LeftMouse>" name="&lt;S-LeftMouse&gt;">&lt;S-LeftMouse&gt;</a><br>
<span class="Special">&lt;LeftDrag&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp; start or extend (1) no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<LeftDrag>" name="&lt;LeftDrag&gt;">&lt;LeftDrag&gt;</a><br>
<span class="Special">&lt;LeftRelease&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp; start or extend (1) no<br>
<span class="Special">&lt;MiddleMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if not active&nbsp;&nbsp;&nbsp;&nbsp; no&nbsp;&nbsp;&nbsp;&nbsp; put<br>
<span class="Special">&lt;MiddleMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if active&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no&nbsp;&nbsp;&nbsp;&nbsp; yank and put<br>
<span class="Special">&lt;RightMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp; start or extend&nbsp;&nbsp;&nbsp;&nbsp; yes<br>
<span class="Special">&lt;A-RightMouse&gt;</span>&nbsp;&nbsp;yes start or extend blockw. yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<A-RightMouse>" name="&lt;A-RightMouse&gt;">&lt;A-RightMouse&gt;</a><br>
<span class="Special">&lt;S-RightMouse&gt;</span>&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no change&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp;&quot;#&quot; (2)&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<S-RightMouse>" name="&lt;S-RightMouse&gt;">&lt;S-RightMouse&gt;</a><br>
<span class="Special">&lt;C-RightMouse&gt;</span>&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no change&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp; &quot;<span class="Special">CTRL-T</span>&quot;<br>
<span class="Special">&lt;RightDrag&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extend&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<RightDrag>" name="&lt;RightDrag&gt;">&lt;RightDrag&gt;</a><br>
<span class="Special">&lt;RightRelease&gt;</span>&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extend&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<RightRelease>" name="&lt;RightRelease&gt;">&lt;RightRelease&gt;</a><br>
<br>
Insert or Replace Mode:<br>
<span class="PreProc">event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; position&nbsp;&nbsp;&nbsp;&nbsp; selection&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;change&nbsp;&nbsp;action</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">cursor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br>
<span class="Special">&lt;LeftMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp; (cannot be active)&nbsp;&nbsp;yes<br>
<span class="Special">&lt;C-LeftMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp; (cannot be active)&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp;&quot;<span class="Special">CTRL-O</span>^]&quot; (2)<br>
<span class="Special">&lt;S-LeftMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp; (cannot be active)&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp;&quot;<span class="Special">CTRL-O</span>*&quot; (2)<br>
<span class="Special">&lt;LeftDrag&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp; start or extend (1) no&nbsp;&nbsp;&nbsp;&nbsp; like&nbsp;<span class="Special">CTRL-O</span>&nbsp;(1)<br>
<span class="Special">&lt;LeftRelease&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp; start or extend (1) no&nbsp;&nbsp;&nbsp;&nbsp; like&nbsp;<span class="Special">CTRL-O</span>&nbsp;(1)<br>
<span class="Special">&lt;MiddleMouse&gt;</span>&nbsp;&nbsp; no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(cannot be active)&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp; put register<br>
<span class="Special">&lt;RightMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp; start or extend&nbsp;&nbsp;&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp;like&nbsp;<span class="Special">CTRL-O</span><br>
<span class="Special">&lt;A-RightMouse&gt;</span>&nbsp;&nbsp;yes start or extend blockw. yes<br>
<span class="Special">&lt;S-RightMouse&gt;</span>&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp; (cannot be active)&nbsp;&nbsp;yes&nbsp;&nbsp;&nbsp;&nbsp;&quot;<span class="Special">CTRL-O</span>#&quot; (2)<br>
<span class="Special">&lt;C-RightMouse&gt;</span>&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(cannot be active)&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp; &quot;<span class="Special">CTRL-O</span>&nbsp;<span class="Special">CTRL-T</span>&quot;<br>
<br>
In a help window:<br>
<span class="PreProc">event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; position&nbsp;&nbsp;&nbsp;&nbsp; selection&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;change&nbsp;&nbsp;action</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">cursor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br>
<span class="Special">&lt;2-LeftMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp; (cannot be active)&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp; &quot;^]&quot; (jump to help tag)<br>
<br>
When&nbsp;<a class="Type" href="options.html#'mousemodel'">'mousemodel'</a>&nbsp;is &quot;popup&quot;, these are different:<br>
<br>
Normal Mode:<br>
<span class="PreProc">event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; position&nbsp;&nbsp;&nbsp;&nbsp; selection&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;change&nbsp;&nbsp;action</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">cursor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br>
<span class="Special">&lt;S-LeftMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp; start or extend (1) no<br>
<span class="Special">&lt;A-LeftMouse&gt;</span>&nbsp;&nbsp; yes start or extend blockw. no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<A-LeftMouse>" name="&lt;A-LeftMouse&gt;">&lt;A-LeftMouse&gt;</a><br>
<span class="Special">&lt;RightMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;popup menu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br>
<br>
Insert or Replace Mode:<br>
<span class="PreProc">event&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; position&nbsp;&nbsp;&nbsp;&nbsp; selection&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;change&nbsp;&nbsp;action</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">cursor&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br>
<span class="Special">&lt;S-LeftMouse&gt;</span>&nbsp;&nbsp; yes&nbsp;&nbsp;&nbsp;&nbsp; start or extend (1) no&nbsp;&nbsp;&nbsp;&nbsp; like&nbsp;<span class="Special">CTRL-O</span>&nbsp;(1)<br>
<span class="Special">&lt;A-LeftMouse&gt;</span>&nbsp;&nbsp; yes start or extend blockw. no<br>
<span class="Special">&lt;RightMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;popup menu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br>
<br>
(1) only if mouse pointer moved since press<br>
(2) only if click is in same buffer<br>
<br>
Clicking the left mouse button causes the cursor to be positioned.&nbsp;&nbsp;If the<br>
click is in another window that window is made the active window.&nbsp;&nbsp;When<br>
editing the command-line the cursor can only be positioned on the<br>
command-line.&nbsp;&nbsp;When in Insert mode Vim remains in Insert mode.&nbsp;&nbsp;If&nbsp;<a class="Type" href="options.html#'scrolloff'">'scrolloff'</a><br>
is set, and the cursor is positioned within&nbsp;<a class="Type" href="options.html#'scrolloff'">'scrolloff'</a>&nbsp;lines from the window<br>
border, the text is scrolled.<br>
<br>
A selection can be started by pressing the left mouse button on the first<br>
character, moving the mouse to the last character, then releasing the mouse<br>
button.&nbsp;&nbsp;You will not always see the selection until you release the button,<br>
only in some versions (GUI, MS-DOS, WIN32) will the dragging be shown<br>
immediately.&nbsp;&nbsp;<span class="Todo">Note</span>&nbsp;that you can make the text scroll by moving the mouse at<br>
least one character in the first/last line in the window when&nbsp;<a class="Type" href="options.html#'scrolloff'">'scrolloff'</a>&nbsp;is<br>
non-zero.<br>
<br>
In Normal, Visual and Select mode clicking the right mouse button causes the<br>
Visual area to be extended.&nbsp;&nbsp;When&nbsp;<a class="Type" href="options.html#'mousemodel'">'mousemodel'</a>&nbsp;is &quot;popup&quot;, the left button has<br>
to be used while keeping the shift key pressed.&nbsp;&nbsp;When clicking in a window<br>
which is editing another buffer, the Visual or Select mode is stopped.<br>
<br>
In Normal, Visual and Select mode clicking the right mouse button with the alt<br>
key pressed causes the Visual area to become blockwise.&nbsp;&nbsp;When&nbsp;<a class="Type" href="options.html#'mousemodel'">'mousemodel'</a>&nbsp;is<br>
&quot;popup&quot; the left button has to be used with the alt key.&nbsp;&nbsp;<span class="Todo">Note</span>&nbsp;that this won't<br>
work on systems where the window manager consumes the mouse events when the<br>
alt key is pressed (it may move the window).<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#double-click" name="double-click">double-click</a><br>
Double, triple and quadruple clicks are supported when the GUI is active,<br>
for MS-DOS and Win32, and for an xterm (if the gettimeofday() function is<br>
available).&nbsp;&nbsp;For selecting text, extra clicks extend the selection:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">click&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;word or % match&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<2-LeftMouse>" name="&lt;2-LeftMouse&gt;">&lt;2-LeftMouse&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;triple&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;line&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<3-LeftMouse>" name="&lt;3-LeftMouse&gt;">&lt;3-LeftMouse&gt;</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;quadruple&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rectangular block&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<4-LeftMouse>" name="&lt;4-LeftMouse&gt;">&lt;4-LeftMouse&gt;</a><br>
Exception: In a Help window a double click jumps to help for the word that is<br>
clicked on.<br>
A double click on a word selects that word.&nbsp;&nbsp;<a class="Type" href="options.html#'iskeyword'">'iskeyword'</a>&nbsp;is used to specify<br>
which characters are included in a word.&nbsp;&nbsp;A double click on a character<br>
that has a match selects until that match (like using &quot;v%&quot;).&nbsp;&nbsp;If the match is<br>
an #if/#else/#endif block, the selection becomes linewise.<br>
For MS-DOS and xterm the time for double clicking can be set with the<br>
<a class="Type" href="options.html#'mousetime'">'mousetime'</a>&nbsp;option.&nbsp;&nbsp;For the other systems this time is defined outside of<br>
Vim.<br>
An example, for using a double click to jump to the tag under the cursor:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map &lt;2-LeftMouse&gt; :exe &quot;tag &quot;. expand(&quot;&lt;cword&gt;&quot;)&lt;CR&gt;</div>
<br>
Dragging the mouse with a double click (button-down, button-up, button-down<br>
and then drag) will result in whole words to be selected.&nbsp;&nbsp;This continues<br>
until the button is released, at which point the selection is per character<br>
again.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#gpm-mouse" name="gpm-mouse">gpm-mouse</a><br>
The GPM mouse is only supported when the&nbsp;<a class="Identifier" href="various.html#+mouse_gpm">+mouse_gpm</a>&nbsp;feature was enabled at<br>
compile time.&nbsp;&nbsp;The GPM mouse driver (Linux console) does not support quadruple<br>
clicks.<br>
<br>
In Insert mode, when a selection is started, Vim goes into Normal mode<br>
temporarily.&nbsp;&nbsp;When Visual or Select mode ends, it returns to Insert mode.<br>
This is like using&nbsp;<span class="Special">CTRL-O</span>&nbsp;in Insert mode.&nbsp;&nbsp;Select mode is used when the<br>
<a class="Type" href="options.html#'selectmode'">'selectmode'</a>&nbsp;option contains &quot;mouse&quot;.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#sysmouse" name="sysmouse">sysmouse</a><br>
The sysmouse is only supported when the&nbsp;<a class="Identifier" href="various.html#+mouse_sysmouse">+mouse_sysmouse</a>&nbsp;feature was enabled<br>
at compile time.&nbsp;&nbsp;The sysmouse driver (*BSD console) does not support keyboard<br>
modifiers.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#drag-status-line" name="drag-status-line">drag-status-line</a><br>
When working with several windows, the size of the windows can be changed by<br>
dragging the status line with the mouse.&nbsp;&nbsp;Point the mouse at a status line,<br>
press the left button, move the mouse to the new position of the status line,<br>
release the button.&nbsp;&nbsp;Just clicking the mouse in a status line makes that window<br>
the current window, without moving the cursor.&nbsp;&nbsp;If by selecting a window it<br>
will change position or size, the dragging of the status line will look<br>
confusing, but it will work (just try it).<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#<MiddleRelease>" name="&lt;MiddleRelease&gt;">&lt;MiddleRelease&gt;</a>&nbsp;<a class="Constant" href="term.html#<MiddleDrag>" name="&lt;MiddleDrag&gt;">&lt;MiddleDrag&gt;</a><br>
Mouse clicks can be mapped.&nbsp;&nbsp;The codes for mouse clicks are:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="PreProc">code&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mouse button&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;normal action</span><br>
&nbsp;<span class="Special">&lt;LeftMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; left pressed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set cursor position<br>
&nbsp;<span class="Special">&lt;LeftDrag&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;left moved while pressed&nbsp;&nbsp; extend selection<br>
&nbsp;<span class="Special">&lt;LeftRelease&gt;</span>&nbsp;&nbsp; left released&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set selection end<br>
&nbsp;<span class="Special">&lt;MiddleMouse&gt;</span>&nbsp;&nbsp; middle pressed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; paste text at cursor position<br>
&nbsp;<span class="Special">&lt;MiddleDrag&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;middle moved while pressed -<br>
&nbsp;<span class="Special">&lt;MiddleRelease&gt;</span>&nbsp;middle released&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-<br>
&nbsp;<span class="Special">&lt;RightMouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;right pressed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extend selection<br>
&nbsp;<span class="Special">&lt;RightDrag&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; right moved while pressed&nbsp;&nbsp;extend selection<br>
&nbsp;<span class="Special">&lt;RightRelease&gt;</span>&nbsp;&nbsp;right released&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set selection end<br>
&nbsp;<span class="Special">&lt;X1Mouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X1 button pressed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#X1Mouse" name="X1Mouse">X1Mouse</a><br>
&nbsp;<span class="Special">&lt;X1Drag&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X1 moved while pressed&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#X1Drag" name="X1Drag">X1Drag</a><br>
&nbsp;<span class="Special">&lt;X1Release&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; X1 button release&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#X1Release" name="X1Release">X1Release</a><br>
&nbsp;<span class="Special">&lt;X2Mouse&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X2 button pressed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#X2Mouse" name="X2Mouse">X2Mouse</a><br>
&nbsp;<span class="Special">&lt;X2Drag&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;X2 moved while pressed&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#X2Drag" name="X2Drag">X2Drag</a><br>
&nbsp;<span class="Special">&lt;X2Release&gt;</span>&nbsp;&nbsp;&nbsp;&nbsp; X2 button release&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#X2Release" name="X2Release">X2Release</a><br>
<br>
The X1 and X2 buttons refer to the extra buttons found on some mice.&nbsp;&nbsp;The<br>
'Microsoft Explorer' mouse has these buttons available to the right thumb.<br>
Currently X1 and X2 only work on Win32 and X11 environments.<br>
<br>
Examples:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap &lt;MiddleMouse&gt; &lt;LeftMouse&gt;&lt;MiddleMouse&gt;</div>
Paste at the position of the middle mouse button click (otherwise the paste<br>
would be done at the cursor position).<br>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap &lt;LeftRelease&gt; &lt;LeftRelease&gt;y</div>
Immediately yank the selection, when using Visual mode.<br>
<br>
<span class="Todo">Note</span>&nbsp;the use of &quot;:noremap&quot; instead of &quot;map&quot; to avoid a recursive mapping.<br>
<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map &lt;X1Mouse&gt; &lt;C-O&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:map &lt;X2Mouse&gt; &lt;C-I&gt;</div>
Map the X1 and X2 buttons to go forwards and backwards in the jump list, see<br>
<a class="Identifier" href="motion.html#CTRL-O">CTRL-O</a>&nbsp;and&nbsp;<a class="Identifier" href="motion.html#CTRL-I">CTRL-I</a>.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="Constant" href="term.html#mouse-swap-buttons" name="mouse-swap-buttons">mouse-swap-buttons</a><br>
To swap the meaning of the left and right mouse buttons:<br>
<div class="helpExample">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LeftMouse&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RightMouse&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LeftDrag&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RightDrag&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LeftRelease&gt;&nbsp;&nbsp; &lt;RightRelease&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RightMouse&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LeftMouse&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RightDrag&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LeftDrag&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RightRelease&gt;&nbsp;&nbsp;&lt;LeftRelease&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;g&lt;LeftMouse&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;C-RightMouse&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;g&lt;RightMouse&gt;&nbsp;&nbsp; &lt;C-LeftMouse&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LeftMouse&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RightMouse&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LeftDrag&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;RightDrag&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LeftRelease&gt;&nbsp;&nbsp; &lt;RightRelease&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RightMouse&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;LeftMouse&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RightDrag&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LeftDrag&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:noremap!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RightRelease&gt;&nbsp;&nbsp;&lt;LeftRelease&gt;</div>
<br>
&nbsp;vim:tw=78:ts=8:ft=help:norl:<br>
</div>

</article>

<footer>
<a href="#top">Return to the top</a> - <a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
  <span class="CurrentLanguage">English</span>
</span>
<br />
<div style="text-align:right;">
Hosted by <a href="https://github.com/vim-jp/vimdoc-en">vimdoc-en project</a><br />
If you met any problem, please report it to <a href="https://github.com/vim-jp/vimdoc-en/issues">issue</a>.<br />
</div>
</footer>

<!--<script src="js/check-referrer.js" type="text/javascript"></script>-->

</body>
</html>
<!-- vim:set ts=8 sts=2 sw=2 tw=0 et: -->
